Class DeploymentInfo
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.DeploymentInfo
-
public final class DeploymentInfo extends Object
Information regarding a deployment.
-
-
Constructor Summary
Constructors Constructor Description DeploymentInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Deployment
deployment()
Get the deployment property: Deployment information.DeploymentFetchStatus
deploymentFetchStatus()
Get the deploymentFetchStatus property: Status while fetching the last deployment.String
message()
Get the message property: Additional details about the deployment that can be shown to the user.void
validate()
Validates the instance.DeploymentInfo
withDeployment(Deployment deployment)
Set the deployment property: Deployment information.DeploymentInfo
withDeploymentFetchStatus(DeploymentFetchStatus deploymentFetchStatus)
Set the deploymentFetchStatus property: Status while fetching the last deployment.DeploymentInfo
withMessage(String message)
Set the message property: Additional details about the deployment that can be shown to the user.
-
-
-
Method Detail
-
deploymentFetchStatus
public DeploymentFetchStatus deploymentFetchStatus()
Get the deploymentFetchStatus property: Status while fetching the last deployment.- Returns:
- the deploymentFetchStatus value.
-
withDeploymentFetchStatus
public DeploymentInfo withDeploymentFetchStatus(DeploymentFetchStatus deploymentFetchStatus)
Set the deploymentFetchStatus property: Status while fetching the last deployment.- Parameters:
deploymentFetchStatus
- the deploymentFetchStatus value to set.- Returns:
- the DeploymentInfo object itself.
-
deployment
public Deployment deployment()
Get the deployment property: Deployment information.- Returns:
- the deployment value.
-
withDeployment
public DeploymentInfo withDeployment(Deployment deployment)
Set the deployment property: Deployment information.- Parameters:
deployment
- the deployment value to set.- Returns:
- the DeploymentInfo object itself.
-
message
public String message()
Get the message property: Additional details about the deployment that can be shown to the user.- Returns:
- the message value.
-
withMessage
public DeploymentInfo withMessage(String message)
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.
-
-