Class FluxConfigurationPatch
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.models.FluxConfigurationPatch
-
public final class FluxConfigurationPatch extends Object
The Flux Configuration Patch Request object.
-
-
Constructor Summary
Constructors Constructor Description FluxConfigurationPatch()
-
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.FluxConfigurationPatch
withBucket(BucketPatchDefinition bucket)
Set the bucket property: Parameters to reconcile to the Bucket source kind type.FluxConfigurationPatch
withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Key-value pairs of protected configuration settings for the configuration.FluxConfigurationPatch
withGitRepository(GitRepositoryPatchDefinition gitRepository)
Set the gitRepository property: Parameters to reconcile to the GitRepository source kind type.FluxConfigurationPatch
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.FluxConfigurationPatch
withSourceKind(SourceKindType sourceKind)
Set the sourceKind property: Source Kind to pull the configuration data from.FluxConfigurationPatch
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 FluxConfigurationPatch withSourceKind(SourceKindType sourceKind)
Set the sourceKind property: Source Kind to pull the configuration data from.- Parameters:
sourceKind
- the sourceKind value to set.- Returns:
- the FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch 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 FluxConfigurationPatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-