Class GetDeploymentResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.m2.model.M2Response
-
- software.amazon.awssdk.services.m2.model.GetDeploymentResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetDeploymentResponse extends M2Response implements ToCopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetDeploymentResponse.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 application version.static GetDeploymentResponse.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 GetDeploymentResponse.Builder>serializableBuilderClass()DeploymentLifecyclestatus()The status of the deployment.StringstatusAsString()The status of the deployment.StringstatusReason()The reason for the reported status.GetDeploymentResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.m2.model.M2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 application version.
- Returns:
- The application version.
-
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 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 status of the deployment.
- See Also:
DeploymentLifecycle
-
statusAsString
public final String statusAsString()
The 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 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 GetDeploymentResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetDeploymentResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDeploymentResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-