Class DeploymentProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.DeploymentProperties
-
public final class DeploymentProperties extends Object
Deployment resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description DeploymentProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Get the active property: True if deployment is currently active, false if completed and null if not started.Stringauthor()Get the author property: Who authored the deployment.StringauthorEmail()Get the authorEmail property: Author email.Stringdeployer()Get the deployer property: Who performed the deployment.Stringdetails()Get the details property: Details on deployment.OffsetDateTimeendTime()Get the endTime property: End time.Stringmessage()Get the message property: Details about deployment status.OffsetDateTimestartTime()Get the startTime property: Start time.Integerstatus()Get the status property: Deployment status.voidvalidate()Validates the instance.DeploymentPropertieswithActive(Boolean active)Set the active property: True if deployment is currently active, false if completed and null if not started.DeploymentPropertieswithAuthor(String author)Set the author property: Who authored the deployment.DeploymentPropertieswithAuthorEmail(String authorEmail)Set the authorEmail property: Author email.DeploymentPropertieswithDeployer(String deployer)Set the deployer property: Who performed the deployment.DeploymentPropertieswithDetails(String details)Set the details property: Details on deployment.DeploymentPropertieswithEndTime(OffsetDateTime endTime)Set the endTime property: End time.DeploymentPropertieswithMessage(String message)Set the message property: Details about deployment status.DeploymentPropertieswithStartTime(OffsetDateTime startTime)Set the startTime property: Start time.DeploymentPropertieswithStatus(Integer status)Set the status property: Deployment status.
-
-
-
Method Detail
-
status
public Integer status()
Get the status property: Deployment status.- Returns:
- the status value.
-
withStatus
public DeploymentProperties withStatus(Integer status)
Set the status property: Deployment status.- Parameters:
status- the status value to set.- Returns:
- the DeploymentProperties object itself.
-
message
public String message()
Get the message property: Details about deployment status.- Returns:
- the message value.
-
withMessage
public DeploymentProperties withMessage(String message)
Set the message property: Details about deployment status.- Parameters:
message- the message value to set.- Returns:
- the DeploymentProperties object itself.
-
author
public String author()
Get the author property: Who authored the deployment.- Returns:
- the author value.
-
withAuthor
public DeploymentProperties withAuthor(String author)
Set the author property: Who authored the deployment.- Parameters:
author- the author value to set.- Returns:
- the DeploymentProperties object itself.
-
deployer
public String deployer()
Get the deployer property: Who performed the deployment.- Returns:
- the deployer value.
-
withDeployer
public DeploymentProperties withDeployer(String deployer)
Set the deployer property: Who performed the deployment.- Parameters:
deployer- the deployer value to set.- Returns:
- the DeploymentProperties object itself.
-
authorEmail
public String authorEmail()
Get the authorEmail property: Author email.- Returns:
- the authorEmail value.
-
withAuthorEmail
public DeploymentProperties withAuthorEmail(String authorEmail)
Set the authorEmail property: Author email.- Parameters:
authorEmail- the authorEmail value to set.- Returns:
- the DeploymentProperties object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time.- Returns:
- the startTime value.
-
withStartTime
public DeploymentProperties withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.- Parameters:
startTime- the startTime value to set.- Returns:
- the DeploymentProperties object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: End time.- Returns:
- the endTime value.
-
withEndTime
public DeploymentProperties withEndTime(OffsetDateTime endTime)
Set the endTime property: End time.- Parameters:
endTime- the endTime value to set.- Returns:
- the DeploymentProperties object itself.
-
active
public Boolean active()
Get the active property: True if deployment is currently active, false if completed and null if not started.- Returns:
- the active value.
-
withActive
public DeploymentProperties withActive(Boolean active)
Set the active property: True if deployment is currently active, false if completed and null if not started.- Parameters:
active- the active value to set.- Returns:
- the DeploymentProperties object itself.
-
details
public String details()
Get the details property: Details on deployment.- Returns:
- the details value.
-
withDetails
public DeploymentProperties withDetails(String details)
Set the details property: Details on deployment.- Parameters:
details- the details value to set.- Returns:
- the DeploymentProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-