Class DeploymentSummary
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.DeploymentSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentSummary.Builder,DeploymentSummary>
@Generated("software.amazon.awssdk:codegen") public final class DeploymentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentSummary.Builder,DeploymentSummary>
A subset of information about a specific deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The unique identifier of the application.IntegerapplicationVersion()The version of the application.static DeploymentSummary.Builderbuilder()InstantcreationTime()The timestamp when the deployment was created.StringdeploymentId()The unique identifier of the deployment.StringenvironmentId()The unique identifier of the runtime environment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeploymentSummary.Builder>serializableBuilderClass()DeploymentLifecyclestatus()The current status of the deployment.StringstatusAsString()The current status of the deployment.StringstatusReason()The reason for the reported status.DeploymentSummary.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
-
applicationId
public final String applicationId()
The unique identifier of the application.
- Returns:
- The unique identifier of the application.
-
applicationVersion
public final Integer applicationVersion()
The version of the application.
- Returns:
- The version of the application.
-
creationTime
public final Instant creationTime()
The timestamp when the deployment was created.
- Returns:
- The timestamp when the deployment was created.
-
deploymentId
public final String deploymentId()
The unique identifier of the deployment.
- Returns:
- The unique identifier of the deployment.
-
environmentId
public final String environmentId()
The unique identifier of the runtime environment.
- Returns:
- The unique identifier of the runtime environment.
-
status
public final DeploymentLifecycle status()
The current status of the deployment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeploymentLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the deployment.
- See Also:
DeploymentLifecycle
-
statusAsString
public final String statusAsString()
The current status of the deployment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeploymentLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the deployment.
- See Also:
DeploymentLifecycle
-
statusReason
public final String statusReason()
The reason for the reported status.
- Returns:
- The reason for the reported status.
-
toBuilder
public DeploymentSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentSummary.Builder,DeploymentSummary>
-
builder
public static DeploymentSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentSummary.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.
-
-