Class ScopeNamespace
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.models.ScopeNamespace
-
public final class ScopeNamespace extends Object
Specifies that the scope of the extension is Namespace.
-
-
Constructor Summary
Constructors Constructor Description ScopeNamespace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
targetNamespace()
Get the targetNamespace property: Namespace where the extension will be created for an Namespace scoped extension.void
validate()
Validates the instance.ScopeNamespace
withTargetNamespace(String targetNamespace)
Set the targetNamespace property: Namespace where the extension will be created for an Namespace scoped extension.
-
-
-
Method Detail
-
targetNamespace
public String targetNamespace()
Get the targetNamespace property: Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created.- Returns:
- the targetNamespace value.
-
withTargetNamespace
public ScopeNamespace withTargetNamespace(String targetNamespace)
Set the targetNamespace property: Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created.- Parameters:
targetNamespace
- the targetNamespace value to set.- Returns:
- the ScopeNamespace object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-