@Generated(value="software.amazon.awssdk:codegen") public final class LastDeploymentInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastDeploymentInfo.Builder,LastDeploymentInfo>
Information about the most recent attempted or successful deployment to a deployment group.
Modifier and Type | Class and Description |
---|---|
static interface |
LastDeploymentInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static LastDeploymentInfo.Builder |
builder() |
Instant |
createTime()
A timestamp indicating when the most recent deployment to the deployment group started.
|
String |
deploymentId()
The unique ID of a deployment.
|
Instant |
endTime()
A timestamp indicating when the most recent deployment to the deployment group completed.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LastDeploymentInfo.Builder> |
serializableBuilderClass() |
DeploymentStatus |
status()
The status of the most recent deployment.
|
String |
statusAsString()
The status of the most recent deployment.
|
LastDeploymentInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String deploymentId()
The unique ID of a deployment.
public DeploymentStatus status()
The status of the most recent deployment.
If the service returns an enum value that is not available in the current SDK version, status
will
return DeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
DeploymentStatus
public String statusAsString()
The status of the most recent deployment.
If the service returns an enum value that is not available in the current SDK version, status
will
return DeploymentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
DeploymentStatus
public Instant endTime()
A timestamp indicating when the most recent deployment to the deployment group completed.
public Instant createTime()
A timestamp indicating when the most recent deployment to the deployment group started.
public LastDeploymentInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LastDeploymentInfo.Builder,LastDeploymentInfo>
public static LastDeploymentInfo.Builder builder()
public static Class<? extends LastDeploymentInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.