Class ActiveDeploymentCollection
java.lang.Object
com.azure.resourcemanager.appplatform.models.ActiveDeploymentCollection
Object that includes an array of Deployment resource name and set them as active.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ActiveDeploymentCollection class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activeDeploymentNames property: Collection of Deployment name.voidvalidate()Validates the instance.withActiveDeploymentNames(List<String> activeDeploymentNames) Set the activeDeploymentNames property: Collection of Deployment name.
-
Constructor Details
-
ActiveDeploymentCollection
public ActiveDeploymentCollection()Creates an instance of ActiveDeploymentCollection class.
-
-
Method Details
-
activeDeploymentNames
Get the activeDeploymentNames property: Collection of Deployment name.- Returns:
- the activeDeploymentNames value.
-
withActiveDeploymentNames
Set the activeDeploymentNames property: Collection of Deployment name.- Parameters:
activeDeploymentNames- the activeDeploymentNames value to set.- Returns:
- the ActiveDeploymentCollection object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-