@Generated(value="software.amazon.awssdk:codegen") public final class Deployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Deployment.Builder,Deployment>
The detailed information about a deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Deployment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the deployment.
|
static Deployment.Builder |
builder() |
Instant |
completedAt()
The date and time the deployment was completed.
|
String |
componentName()
The name of the component associated with this deployment.
|
Instant |
createdAt()
The date and time the deployment was created.
|
DeploymentStatus |
deploymentStatus()
The status of the deployment.
|
String |
deploymentStatusAsString()
The status of the deployment.
|
String |
deploymentStatusMessage()
The deployment status message.
|
String |
environmentName()
The name of the environment associated with this deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the deployment.
|
DeploymentState |
initialState()
The initial state of the target resource at the time of the deployment.
|
String |
lastAttemptedDeploymentId()
The ID of the last attempted deployment.
|
Instant |
lastModifiedAt()
The date and time the deployment was last modified.
|
String |
lastSucceededDeploymentId()
The ID of the last successful deployment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Deployment.Builder> |
serializableBuilderClass() |
String |
serviceInstanceName()
The name of the deployment's service instance.
|
String |
serviceName()
The name of the service in this deployment.
|
String |
targetArn()
The Amazon Resource Name (ARN) of the target of the deployment.
|
Instant |
targetResourceCreatedAt()
The date and time the depoyment target was created.
|
DeploymentTargetResourceType |
targetResourceType()
The resource type of the deployment target.
|
String |
targetResourceTypeAsString()
The resource type of the deployment target.
|
DeploymentState |
targetState()
The target state of the target resource at the time of the deployment.
|
Deployment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the deployment.
public final Instant completedAt()
The date and time the deployment was completed.
public final String componentName()
The name of the component associated with this deployment.
public final Instant createdAt()
The date and time the deployment was created.
public final DeploymentStatus deploymentStatus()
The status of the deployment.
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentStatusAsString().
DeploymentStatuspublic final String deploymentStatusAsString()
The status of the deployment.
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentStatusAsString().
DeploymentStatuspublic final String deploymentStatusMessage()
The deployment status message.
public final String environmentName()
The name of the environment associated with this deployment.
public final String id()
The ID of the deployment.
public final DeploymentState initialState()
The initial state of the target resource at the time of the deployment.
public final String lastAttemptedDeploymentId()
The ID of the last attempted deployment.
public final Instant lastModifiedAt()
The date and time the deployment was last modified.
public final String lastSucceededDeploymentId()
The ID of the last successful deployment.
public final String serviceInstanceName()
The name of the deployment's service instance.
public final String serviceName()
The name of the service in this deployment.
public final String targetArn()
The Amazon Resource Name (ARN) of the target of the deployment.
public final Instant targetResourceCreatedAt()
The date and time the depoyment target was created.
public final DeploymentTargetResourceType targetResourceType()
The resource type of the deployment target. It can be an environment, service, service instance, or component.
If the service returns an enum value that is not available in the current SDK version,
targetResourceType will return DeploymentTargetResourceType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from targetResourceTypeAsString().
DeploymentTargetResourceTypepublic final String targetResourceTypeAsString()
The resource type of the deployment target. It can be an environment, service, service instance, or component.
If the service returns an enum value that is not available in the current SDK version,
targetResourceType will return DeploymentTargetResourceType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from targetResourceTypeAsString().
DeploymentTargetResourceTypepublic final DeploymentState targetState()
The target state of the target resource at the time of the deployment.
public Deployment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Deployment.Builder,Deployment>public static Deployment.Builder builder()
public static Class<? extends Deployment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.