Class Deployment
java.lang.Object
com.azure.resourcemanager.securityinsights.models.Deployment
Description about a deployment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deploymentId property: Deployment identifier.Get the deploymentLogsUrl property: Url to access repository action logs.Get the deploymentResult property: The outcome of the deployment.Get the deploymentState property: Current status of the deployment.Get the deploymentTime property: The time when the deployment finished.void
validate()
Validates the instance.withDeploymentId
(String deploymentId) Set the deploymentId property: Deployment identifier.withDeploymentLogsUrl
(String deploymentLogsUrl) Set the deploymentLogsUrl property: Url to access repository action logs.withDeploymentResult
(DeploymentResult deploymentResult) Set the deploymentResult property: The outcome of the deployment.withDeploymentState
(DeploymentState deploymentState) Set the deploymentState property: Current status of the deployment.withDeploymentTime
(OffsetDateTime deploymentTime) Set the deploymentTime property: The time when the deployment finished.
-
Constructor Details
-
Deployment
public Deployment()
-
-
Method Details
-
deploymentId
Get the deploymentId property: Deployment identifier.- Returns:
- the deploymentId value.
-
withDeploymentId
Set the deploymentId property: Deployment identifier.- Parameters:
deploymentId
- the deploymentId value to set.- Returns:
- the Deployment object itself.
-
deploymentState
Get the deploymentState property: Current status of the deployment.- Returns:
- the deploymentState value.
-
withDeploymentState
Set the deploymentState property: Current status of the deployment.- Parameters:
deploymentState
- the deploymentState value to set.- Returns:
- the Deployment object itself.
-
deploymentResult
Get the deploymentResult property: The outcome of the deployment.- Returns:
- the deploymentResult value.
-
withDeploymentResult
Set the deploymentResult property: The outcome of the deployment.- Parameters:
deploymentResult
- the deploymentResult value to set.- Returns:
- the Deployment object itself.
-
deploymentTime
Get the deploymentTime property: The time when the deployment finished.- Returns:
- the deploymentTime value.
-
withDeploymentTime
Set the deploymentTime property: The time when the deployment finished.- Parameters:
deploymentTime
- the deploymentTime value to set.- Returns:
- the Deployment object itself.
-
deploymentLogsUrl
Get the deploymentLogsUrl property: Url to access repository action logs.- Returns:
- the deploymentLogsUrl value.
-
withDeploymentLogsUrl
Set the deploymentLogsUrl property: Url to access repository action logs.- Parameters:
deploymentLogsUrl
- the deploymentLogsUrl value to set.- Returns:
- the Deployment object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-