Class LastDeploymentInfo
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.LastDeploymentInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LastDeploymentInfo.Builder,LastDeploymentInfo>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLastDeploymentInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastDeploymentInfo.Builderbuilder()InstantcreateTime()A timestamp that indicates when the most recent deployment to the deployment group started.StringdeploymentId()The unique ID of a deployment.InstantendTime()A timestamp that indicates when the most recent deployment to the deployment group was complete.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LastDeploymentInfo.Builder>serializableBuilderClass()DeploymentStatusstatus()The status of the most recent deployment.StringstatusAsString()The status of the most recent deployment.LastDeploymentInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deploymentId
public final String deploymentId()
The unique ID of a deployment.
- Returns:
- The unique ID of a deployment.
-
status
public final 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,
statuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the most recent deployment.
- See Also:
DeploymentStatus
-
statusAsString
public final 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,
statuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the most recent deployment.
- See Also:
DeploymentStatus
-
endTime
public final Instant endTime()
A timestamp that indicates when the most recent deployment to the deployment group was complete.
- Returns:
- A timestamp that indicates when the most recent deployment to the deployment group was complete.
-
createTime
public final Instant createTime()
A timestamp that indicates when the most recent deployment to the deployment group started.
- Returns:
- A timestamp that indicates when the most recent deployment to the deployment group started.
-
toBuilder
public LastDeploymentInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LastDeploymentInfo.Builder,LastDeploymentInfo>
-
builder
public static LastDeploymentInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastDeploymentInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-