public final class DeploymentProperties extends Object
| Constructor and Description |
|---|
DeploymentProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
active()
Get the active property: True if deployment is currently active, false if completed and null if not started.
|
String |
author()
Get the author property: Who authored the deployment.
|
String |
authorEmail()
Get the authorEmail property: Author email.
|
String |
deployer()
Get the deployer property: Who performed the deployment.
|
String |
details()
Get the details property: Details on deployment.
|
OffsetDateTime |
endTime()
Get the endTime property: End time.
|
String |
message()
Get the message property: Details about deployment status.
|
OffsetDateTime |
startTime()
Get the startTime property: Start time.
|
Integer |
status()
Get the status property: Deployment status.
|
void |
validate()
Validates the instance.
|
DeploymentProperties |
withActive(Boolean active)
Set the active property: True if deployment is currently active, false if completed and null if not started.
|
DeploymentProperties |
withAuthor(String author)
Set the author property: Who authored the deployment.
|
DeploymentProperties |
withAuthorEmail(String authorEmail)
Set the authorEmail property: Author email.
|
DeploymentProperties |
withDeployer(String deployer)
Set the deployer property: Who performed the deployment.
|
DeploymentProperties |
withDetails(String details)
Set the details property: Details on deployment.
|
DeploymentProperties |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time.
|
DeploymentProperties |
withMessage(String message)
Set the message property: Details about deployment status.
|
DeploymentProperties |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.
|
DeploymentProperties |
withStatus(Integer status)
Set the status property: Deployment status.
|
public Integer status()
public DeploymentProperties withStatus(Integer status)
status - the status value to set.public String message()
public DeploymentProperties withMessage(String message)
message - the message value to set.public String author()
public DeploymentProperties withAuthor(String author)
author - the author value to set.public String deployer()
public DeploymentProperties withDeployer(String deployer)
deployer - the deployer value to set.public String authorEmail()
public DeploymentProperties withAuthorEmail(String authorEmail)
authorEmail - the authorEmail value to set.public OffsetDateTime startTime()
public DeploymentProperties withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DeploymentProperties withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public Boolean active()
public DeploymentProperties withActive(Boolean active)
active - the active value to set.public String details()
public DeploymentProperties withDetails(String details)
details - the details value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.