Class Deployment
- java.lang.Object
-
- software.amazon.awssdk.services.greengrassv2.model.Deployment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Deployment.Builder,Deployment>
@Generated("software.amazon.awssdk:codegen") public final class Deployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Deployment.Builder,Deployment>
Contains information about a deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeployment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deployment.Builderbuilder()InstantcreationTimestamp()The time at which the deployment was created, expressed in ISO 8601 format.StringdeploymentId()The ID of the deployment.StringdeploymentName()The name of the deployment.DeploymentStatusdeploymentStatus()The status of the deployment.StringdeploymentStatusAsString()The status of the deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisLatestForTarget()Whether or not the deployment is the latest revision for its target.StringparentTargetArn()The parent deployment's target ARN within a subdeployment.StringrevisionId()The revision number of the deployment.List<SdkField<?>>sdkFields()static Class<? extends Deployment.Builder>serializableBuilderClass()StringtargetArn()The ARN of the target IoT thing or thing group.Deployment.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
-
targetArn
public 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.
- Returns:
- The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
-
revisionId
public final String revisionId()
The revision number of the deployment.
- Returns:
- The revision number of the deployment.
-
deploymentId
public final String deploymentId()
The ID of the deployment.
- Returns:
- The ID of the deployment.
-
deploymentName
public final String deploymentName()
The name of the deployment.
- Returns:
- The name of the deployment.
-
creationTimestamp
public final Instant creationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
- Returns:
- The time at which the deployment was created, expressed in ISO 8601 format.
-
deploymentStatus
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,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- The status of the deployment.
- See Also:
DeploymentStatus
-
deploymentStatusAsString
public final String deploymentStatusAsString()
The status of the deployment.
If the service returns an enum value that is not available in the current SDK version,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- The status of the deployment.
- See Also:
DeploymentStatus
-
isLatestForTarget
public final Boolean isLatestForTarget()
Whether or not the deployment is the latest revision for its target.
- Returns:
- Whether or not the deployment is the latest revision for its target.
-
parentTargetArn
public final String parentTargetArn()
The parent deployment's target ARN within a subdeployment.
- Returns:
- The parent deployment's target ARN within a subdeployment.
-
toBuilder
public Deployment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Deployment.Builder,Deployment>
-
builder
public static Deployment.Builder builder()
-
serializableBuilderClass
public static Class<? extends Deployment.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.
-
-