@Generated(value="software.amazon.awssdk:codegen") public final class Deployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Deployment.Builder,Deployment>
Contains information about a deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Deployment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Deployment.Builder |
builder() |
Instant |
creationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
|
String |
deploymentId()
The ID of the deployment.
|
String |
deploymentName()
The name of the deployment.
|
DeploymentStatus |
deploymentStatus()
The status of the deployment.
|
String |
deploymentStatusAsString()
The status of the deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isLatestForTarget()
Whether or not the deployment is the latest revision for its target.
|
String |
parentTargetArn()
The parent deployment's target ARN within a subdeployment.
|
String |
revisionId()
The revision number of the deployment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Deployment.Builder> |
serializableBuilderClass() |
String |
targetArn()
The ARN of the target
IoT thing or thing group.
|
Deployment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String targetArn()
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
public final String revisionId()
The revision number of the deployment.
public final String deploymentId()
The ID of the deployment.
public final String deploymentName()
The name of the deployment.
public final Instant creationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
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 Boolean isLatestForTarget()
Whether or not the deployment is the latest revision for its target.
public final String parentTargetArn()
The parent deployment's target ARN within a subdeployment.
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.