public final class DeploymentInner extends ProxyOnlyResource
| Constructor and Description |
|---|
DeploymentInner() |
| 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.
|
DeploymentInner |
withActive(Boolean active)
Set the active property: True if deployment is currently active, false if completed and null if not started.
|
DeploymentInner |
withAuthor(String author)
Set the author property: Who authored the deployment.
|
DeploymentInner |
withAuthorEmail(String authorEmail)
Set the authorEmail property: Author email.
|
DeploymentInner |
withDeployer(String deployer)
Set the deployer property: Who performed the deployment.
|
DeploymentInner |
withDetails(String details)
Set the details property: Details on deployment.
|
DeploymentInner |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time.
|
DeploymentInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
DeploymentInner |
withMessage(String message)
Set the message property: Details about deployment status.
|
DeploymentInner |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.
|
DeploymentInner |
withStatus(Integer status)
Set the status property: Deployment status.
|
kindpublic DeploymentInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public Integer status()
public DeploymentInner withStatus(Integer status)
status - the status value to set.public String message()
public DeploymentInner withMessage(String message)
message - the message value to set.public String author()
public DeploymentInner withAuthor(String author)
author - the author value to set.public String deployer()
public DeploymentInner withDeployer(String deployer)
deployer - the deployer value to set.public String authorEmail()
public DeploymentInner withAuthorEmail(String authorEmail)
authorEmail - the authorEmail value to set.public OffsetDateTime startTime()
public DeploymentInner withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DeploymentInner withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public Boolean active()
public DeploymentInner withActive(Boolean active)
active - the active value to set.public String details()
public DeploymentInner withDetails(String details)
details - the details value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.