@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 |
getParentTargetArn()
The parent deployment's target ARN within a subdeployment.
|
String |
getRevisionId()
The revision number of the deployment.
|
String |
getTargetArn()
The ARN of the target
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 |
setParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
|
void |
setRevisionId(String revisionId)
The revision number of the deployment.
|
void |
setTargetArn(String targetArn)
The ARN of the target
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 |
withParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
|
Deployment |
withRevisionId(String revisionId)
The revision number of the deployment.
|
Deployment |
withTargetArn(String targetArn)
The ARN of the target
IoT thing or thing group.
|
public void setTargetArn(String targetArn)
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
targetArn
- The ARN of the
target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.public String getTargetArn()
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
public Deployment withTargetArn(String targetArn)
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
targetArn
- The ARN of the
target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a 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.
deploymentName
- The name of the deployment.public String getDeploymentName()
The name of the deployment.
public Deployment withDeploymentName(String deploymentName)
The name of the deployment.
deploymentName
- The name of the deployment.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 void setParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
parentTargetArn
- The parent deployment's target ARN within a
subdeployment.public String getParentTargetArn()
The parent deployment's target ARN within a subdeployment.
public Deployment withParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
parentTargetArn
- The parent deployment's target ARN within a
subdeployment.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.