Class DeploymentInfo
java.lang.Object
com.azure.resourcemanager.securityinsights.models.DeploymentInfo
Information regarding a deployment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deployment property: Deployment information.Get the deploymentFetchStatus property: Status while fetching the last deployment.message()
Get the message property: Additional details about the deployment that can be shown to the user.void
validate()
Validates the instance.withDeployment
(Deployment deployment) Set the deployment property: Deployment information.withDeploymentFetchStatus
(DeploymentFetchStatus deploymentFetchStatus) Set the deploymentFetchStatus property: Status while fetching the last deployment.withMessage
(String message) Set the message property: Additional details about the deployment that can be shown to the user.
-
Constructor Details
-
DeploymentInfo
public DeploymentInfo()
-
-
Method Details
-
deploymentFetchStatus
Get the deploymentFetchStatus property: Status while fetching the last deployment.- Returns:
- the deploymentFetchStatus value.
-
withDeploymentFetchStatus
Set the deploymentFetchStatus property: Status while fetching the last deployment.- Parameters:
deploymentFetchStatus
- the deploymentFetchStatus value to set.- Returns:
- the DeploymentInfo object itself.
-
deployment
Get the deployment property: Deployment information.- Returns:
- the deployment value.
-
withDeployment
Set the deployment property: Deployment information.- Parameters:
deployment
- the deployment value to set.- Returns:
- the DeploymentInfo object itself.
-
message
Get the message property: Additional details about the deployment that can be shown to the user.- Returns:
- the message value.
-
withMessage
Set the message property: Additional details about the deployment that can be shown to the user.- Parameters:
message
- the message value to set.- Returns:
- the DeploymentInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-