@Generated(value="software.amazon.awssdk:codegen") public class LastDeploymentInfo extends Object implements StructuredPojo, 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 deployment ID.
|
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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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() |
copypublic String deploymentId()
The deployment ID.
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().
DeploymentStatuspublic 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().
DeploymentStatuspublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<LastDeploymentInfo.Builder,LastDeploymentInfo>public static LastDeploymentInfo.Builder builder()
public static Class<? extends LastDeploymentInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.