Class ObjectStatusDefinition
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.models.ObjectStatusDefinition
-
public final class ObjectStatusDefinition extends Object
Statuses of objects deployed by the user-specified kustomizations from the git repository.
-
-
Constructor Summary
Constructors Constructor Description ObjectStatusDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectReferenceDefinition
appliedBy()
Get the appliedBy property: Object reference to the Kustomization that applied this object.FluxComplianceState
complianceState()
Get the complianceState property: Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster.HelmReleasePropertiesDefinition
helmReleaseProperties()
Get the helmReleaseProperties property: Additional properties that are provided from objects of the HelmRelease kind.String
kind()
Get the kind property: Kind of the applied object.String
name()
Get the name property: Name of the applied object.String
namespace()
Get the namespace property: Namespace of the applied object.List<ObjectStatusConditionDefinition>
statusConditions()
Get the statusConditions property: List of Kubernetes object status conditions present on the cluster.void
validate()
Validates the instance.ObjectStatusDefinition
withAppliedBy(ObjectReferenceDefinition appliedBy)
Set the appliedBy property: Object reference to the Kustomization that applied this object.ObjectStatusDefinition
withComplianceState(FluxComplianceState complianceState)
Set the complianceState property: Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster.ObjectStatusDefinition
withHelmReleaseProperties(HelmReleasePropertiesDefinition helmReleaseProperties)
Set the helmReleaseProperties property: Additional properties that are provided from objects of the HelmRelease kind.ObjectStatusDefinition
withKind(String kind)
Set the kind property: Kind of the applied object.ObjectStatusDefinition
withName(String name)
Set the name property: Name of the applied object.ObjectStatusDefinition
withNamespace(String namespace)
Set the namespace property: Namespace of the applied object.ObjectStatusDefinition
withStatusConditions(List<ObjectStatusConditionDefinition> statusConditions)
Set the statusConditions property: List of Kubernetes object status conditions present on the cluster.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the applied object.- Returns:
- the name value.
-
withName
public ObjectStatusDefinition withName(String name)
Set the name property: Name of the applied object.- Parameters:
name
- the name value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
namespace
public String namespace()
Get the namespace property: Namespace of the applied object.- Returns:
- the namespace value.
-
withNamespace
public ObjectStatusDefinition withNamespace(String namespace)
Set the namespace property: Namespace of the applied object.- Parameters:
namespace
- the namespace value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
kind
public String kind()
Get the kind property: Kind of the applied object.- Returns:
- the kind value.
-
withKind
public ObjectStatusDefinition withKind(String kind)
Set the kind property: Kind of the applied object.- Parameters:
kind
- the kind value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
complianceState
public FluxComplianceState complianceState()
Get the complianceState property: Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster.- Returns:
- the complianceState value.
-
withComplianceState
public ObjectStatusDefinition withComplianceState(FluxComplianceState complianceState)
Set the complianceState property: Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster.- Parameters:
complianceState
- the complianceState value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
appliedBy
public ObjectReferenceDefinition appliedBy()
Get the appliedBy property: Object reference to the Kustomization that applied this object.- Returns:
- the appliedBy value.
-
withAppliedBy
public ObjectStatusDefinition withAppliedBy(ObjectReferenceDefinition appliedBy)
Set the appliedBy property: Object reference to the Kustomization that applied this object.- Parameters:
appliedBy
- the appliedBy value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
statusConditions
public List<ObjectStatusConditionDefinition> statusConditions()
Get the statusConditions property: List of Kubernetes object status conditions present on the cluster.- Returns:
- the statusConditions value.
-
withStatusConditions
public ObjectStatusDefinition withStatusConditions(List<ObjectStatusConditionDefinition> statusConditions)
Set the statusConditions property: List of Kubernetes object status conditions present on the cluster.- Parameters:
statusConditions
- the statusConditions value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
helmReleaseProperties
public HelmReleasePropertiesDefinition helmReleaseProperties()
Get the helmReleaseProperties property: Additional properties that are provided from objects of the HelmRelease kind.- Returns:
- the helmReleaseProperties value.
-
withHelmReleaseProperties
public ObjectStatusDefinition withHelmReleaseProperties(HelmReleasePropertiesDefinition helmReleaseProperties)
Set the helmReleaseProperties property: Additional properties that are provided from objects of the HelmRelease kind.- Parameters:
helmReleaseProperties
- the helmReleaseProperties value to set.- Returns:
- the ObjectStatusDefinition object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-