Class FluxConfigurationPatchProperties
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.fluent.models.FluxConfigurationPatchProperties
-
public final class FluxConfigurationPatchProperties extends Object
Updatable properties of an Flux Configuration Patch Request.
-
-
Constructor Summary
Constructors Constructor Description FluxConfigurationPatchProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BucketPatchDefinition
bucket()
Get the bucket property: Parameters to reconcile to the Bucket source kind type.Map<String,String>
configurationProtectedSettings()
Get the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.GitRepositoryPatchDefinition
gitRepository()
Get the gitRepository property: Parameters to reconcile to the GitRepository source kind type.Map<String,KustomizationPatchDefinition>
kustomizations()
Get the kustomizations property: Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.SourceKindType
sourceKind()
Get the sourceKind property: Source Kind to pull the configuration data from.Boolean
suspend()
Get the suspend property: Whether this configuration should suspend its reconciliation of its kustomizations and sources.void
validate()
Validates the instance.FluxConfigurationPatchProperties
withBucket(BucketPatchDefinition bucket)
Set the bucket property: Parameters to reconcile to the Bucket source kind type.FluxConfigurationPatchProperties
withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.FluxConfigurationPatchProperties
withGitRepository(GitRepositoryPatchDefinition gitRepository)
Set the gitRepository property: Parameters to reconcile to the GitRepository source kind type.FluxConfigurationPatchProperties
withKustomizations(Map<String,KustomizationPatchDefinition> kustomizations)
Set the kustomizations property: Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.FluxConfigurationPatchProperties
withSourceKind(SourceKindType sourceKind)
Set the sourceKind property: Source Kind to pull the configuration data from.FluxConfigurationPatchProperties
withSuspend(Boolean suspend)
Set the suspend property: Whether this configuration should suspend its reconciliation of its kustomizations and sources.
-
-
-
Method Detail
-
sourceKind
public SourceKindType sourceKind()
Get the sourceKind property: Source Kind to pull the configuration data from.- Returns:
- the sourceKind value.
-
withSourceKind
public FluxConfigurationPatchProperties withSourceKind(SourceKindType sourceKind)
Set the sourceKind property: Source Kind to pull the configuration data from.- Parameters:
sourceKind
- the sourceKind value to set.- Returns:
- the FluxConfigurationPatchProperties object itself.
-
suspend
public Boolean suspend()
Get the suspend property: Whether this configuration should suspend its reconciliation of its kustomizations and sources.- Returns:
- the suspend value.
-
withSuspend
public FluxConfigurationPatchProperties withSuspend(Boolean suspend)
Set the suspend property: Whether this configuration should suspend its reconciliation of its kustomizations and sources.- Parameters:
suspend
- the suspend value to set.- Returns:
- the FluxConfigurationPatchProperties object itself.
-
gitRepository
public GitRepositoryPatchDefinition gitRepository()
Get the gitRepository property: Parameters to reconcile to the GitRepository source kind type.- Returns:
- the gitRepository value.
-
withGitRepository
public FluxConfigurationPatchProperties withGitRepository(GitRepositoryPatchDefinition gitRepository)
Set the gitRepository property: Parameters to reconcile to the GitRepository source kind type.- Parameters:
gitRepository
- the gitRepository value to set.- Returns:
- the FluxConfigurationPatchProperties object itself.
-
bucket
public BucketPatchDefinition bucket()
Get the bucket property: Parameters to reconcile to the Bucket source kind type.- Returns:
- the bucket value.
-
withBucket
public FluxConfigurationPatchProperties withBucket(BucketPatchDefinition bucket)
Set the bucket property: Parameters to reconcile to the Bucket source kind type.- Parameters:
bucket
- the bucket value to set.- Returns:
- the FluxConfigurationPatchProperties object itself.
-
kustomizations
public Map<String,KustomizationPatchDefinition> kustomizations()
Get the kustomizations property: Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.- Returns:
- the kustomizations value.
-
withKustomizations
public FluxConfigurationPatchProperties withKustomizations(Map<String,KustomizationPatchDefinition> kustomizations)
Set the kustomizations property: Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.- Parameters:
kustomizations
- the kustomizations value to set.- Returns:
- the FluxConfigurationPatchProperties object itself.
-
configurationProtectedSettings
public Map<String,String> configurationProtectedSettings()
Get the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.- Returns:
- the configurationProtectedSettings value.
-
withConfigurationProtectedSettings
public FluxConfigurationPatchProperties withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.- Parameters:
configurationProtectedSettings
- the configurationProtectedSettings value to set.- Returns:
- the FluxConfigurationPatchProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-