Class PatchExtensionProperties
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.fluent.models.PatchExtensionProperties
-
public final class PatchExtensionProperties extends Object
Updatable properties of an Extension Patch Request.
-
-
Constructor Summary
Constructors Constructor Description PatchExtensionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.Map<String,String>
configurationProtectedSettings()
Get the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.Map<String,String>
configurationSettings()
Get the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.String
releaseTrain()
Get the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g.void
validate()
Validates the instance.String
version()
Get the version property: Version of the extension for this extension, if it is 'pinned' to a specific version.PatchExtensionProperties
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.PatchExtensionProperties
withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.PatchExtensionProperties
withConfigurationSettings(Map<String,String> configurationSettings)
Set the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.PatchExtensionProperties
withReleaseTrain(String releaseTrain)
Set the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g.PatchExtensionProperties
withVersion(String version)
Set the version property: Version of the extension for this extension, if it is 'pinned' to a specific version.
-
-
-
Method Detail
-
autoUpgradeMinorVersion
public Boolean autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.- Returns:
- the autoUpgradeMinorVersion value.
-
withAutoUpgradeMinorVersion
public PatchExtensionProperties withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Flag to note if this extension participates in auto upgrade of minor version, or not.- Parameters:
autoUpgradeMinorVersion
- the autoUpgradeMinorVersion value to set.- Returns:
- the PatchExtensionProperties object itself.
-
releaseTrain
public String releaseTrain()
Get the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.- Returns:
- the releaseTrain value.
-
withReleaseTrain
public PatchExtensionProperties withReleaseTrain(String releaseTrain)
Set the releaseTrain property: ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.- Parameters:
releaseTrain
- the releaseTrain value to set.- Returns:
- the PatchExtensionProperties object itself.
-
version
public String version()
Get the version property: Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.- Returns:
- the version value.
-
withVersion
public PatchExtensionProperties withVersion(String version)
Set the version property: Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.- Parameters:
version
- the version value to set.- Returns:
- the PatchExtensionProperties object itself.
-
configurationSettings
public Map<String,String> configurationSettings()
Get the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.- Returns:
- the configurationSettings value.
-
withConfigurationSettings
public PatchExtensionProperties withConfigurationSettings(Map<String,String> configurationSettings)
Set the configurationSettings property: Configuration settings, as name-value pairs for configuring this extension.- Parameters:
configurationSettings
- the configurationSettings value to set.- Returns:
- the PatchExtensionProperties object itself.
-
configurationProtectedSettings
public Map<String,String> configurationProtectedSettings()
Get the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.- Returns:
- the configurationProtectedSettings value.
-
withConfigurationProtectedSettings
public PatchExtensionProperties withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Configuration settings that are sensitive, as name-value pairs for configuring this extension.- Parameters:
configurationProtectedSettings
- the configurationProtectedSettings value to set.- Returns:
- the PatchExtensionProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-