@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a deployment.
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
|
String |
getDeploymentId()
The ID of the deployment.
|
String |
getDeploymentName()
The name of the deployment.
|
String |
getDeploymentStatus()
The status of the deployment.
|
Boolean |
getIsLatestForTarget()
Whether or not the deployment is the latest revision for its target.
|
String |
getRevisionId()
The revision number of the deployment.
|
String |
getTargetArn()
The ARN of the target
AWS IoT thing or thing group.
|
int |
hashCode() |
Boolean |
isLatestForTarget()
Whether or not the deployment is the latest revision for its target.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTimestamp(Date creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
|
void |
setDeploymentId(String deploymentId)
The ID of the deployment.
|
void |
setDeploymentName(String deploymentName)
The name of the deployment.
|
void |
setDeploymentStatus(String deploymentStatus)
The status of the deployment.
|
void |
setIsLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
|
void |
setRevisionId(String revisionId)
The revision number of the deployment.
|
void |
setTargetArn(String targetArn)
The ARN of the target
AWS IoT thing or thing group.
|
String |
toString()
Returns a string representation of this object.
|
Deployment |
withCreationTimestamp(Date creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
|
Deployment |
withDeploymentId(String deploymentId)
The ID of the deployment.
|
Deployment |
withDeploymentName(String deploymentName)
The name of the deployment.
|
Deployment |
withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
|
Deployment |
withDeploymentStatus(String deploymentStatus)
The status of the deployment.
|
Deployment |
withIsLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
|
Deployment |
withRevisionId(String revisionId)
The revision number of the deployment.
|
Deployment |
withTargetArn(String targetArn)
The ARN of the target
AWS IoT thing or thing group.
|
public void setTargetArn(String targetArn)
The ARN of the target AWS IoT thing or thing group.
targetArn
- The ARN of the
target AWS IoT thing or thing group.public String getTargetArn()
The ARN of the target AWS IoT thing or thing group.
public Deployment withTargetArn(String targetArn)
The ARN of the target AWS IoT thing or thing group.
targetArn
- The ARN of the
target AWS IoT thing or thing group.public void setRevisionId(String revisionId)
The revision number of the deployment.
revisionId
- The revision number of the deployment.public String getRevisionId()
The revision number of the deployment.
public Deployment withRevisionId(String revisionId)
The revision number of the deployment.
revisionId
- The revision number of the deployment.public void setDeploymentId(String deploymentId)
The ID of the deployment.
deploymentId
- The ID of the deployment.public String getDeploymentId()
The ID of the deployment.
public Deployment withDeploymentId(String deploymentId)
The ID of the deployment.
deploymentId
- The ID of the deployment.public void setDeploymentName(String deploymentName)
The name of the deployment.
You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2
console shows the deployment name as <targetType>:<targetName>
, where
targetType
and targetName
are the type and name of the deployment target.
deploymentName
- The name of the deployment.
You can create deployments without names. If you create a deployment without a name, the AWS IoT
Greengrass V2 console shows the deployment name as <targetType>:<targetName>
,
where targetType
and targetName
are the type and name of the deployment target.
public String getDeploymentName()
The name of the deployment.
You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2
console shows the deployment name as <targetType>:<targetName>
, where
targetType
and targetName
are the type and name of the deployment target.
You can create deployments without names. If you create a deployment without a name, the AWS IoT
Greengrass V2 console shows the deployment name as <targetType>:<targetName>
,
where targetType
and targetName
are the type and name of the deployment target.
public Deployment withDeploymentName(String deploymentName)
The name of the deployment.
You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2
console shows the deployment name as <targetType>:<targetName>
, where
targetType
and targetName
are the type and name of the deployment target.
deploymentName
- The name of the deployment.
You can create deployments without names. If you create a deployment without a name, the AWS IoT
Greengrass V2 console shows the deployment name as <targetType>:<targetName>
,
where targetType
and targetName
are the type and name of the deployment target.
public void setCreationTimestamp(Date creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
creationTimestamp
- The time at which the deployment was created, expressed in ISO 8601 format.public Date getCreationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
public Deployment withCreationTimestamp(Date creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
creationTimestamp
- The time at which the deployment was created, expressed in ISO 8601 format.public void setDeploymentStatus(String deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public String getDeploymentStatus()
The status of the deployment.
DeploymentStatus
public Deployment withDeploymentStatus(String deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public Deployment withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public void setIsLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
isLatestForTarget
- Whether or not the deployment is the latest revision for its target.public Boolean getIsLatestForTarget()
Whether or not the deployment is the latest revision for its target.
public Deployment withIsLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
isLatestForTarget
- Whether or not the deployment is the latest revision for its target.public Boolean isLatestForTarget()
Whether or not the deployment is the latest revision for its target.
public String toString()
toString
in class Object
Object.toString()
public Deployment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.