@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDeploymentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDeploymentResult() |
Modifier and Type | Method and Description |
---|---|
GetDeploymentResult |
addComponentsEntry(String key,
ComponentDeploymentSpecification value)
Add a single Components entry
|
GetDeploymentResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetDeploymentResult |
clearComponentsEntries()
Removes all the entries added into Components.
|
GetDeploymentResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetDeploymentResult |
clone() |
boolean |
equals(Object obj) |
Map<String,ComponentDeploymentSpecification> |
getComponents()
The components to deploy.
|
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.
|
DeploymentPolicies |
getDeploymentPolicies()
The deployment policies for the deployment.
|
String |
getDeploymentStatus()
The status of the deployment.
|
String |
getIotJobArn()
The ARN of the IoT job
that applies the deployment to target devices.
|
DeploymentIoTJobConfiguration |
getIotJobConfiguration()
The job configuration for the deployment configuration.
|
String |
getIotJobId()
The ID of the IoT job that applies the deployment to target devices.
|
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.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the resource.
|
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 |
setComponents(Map<String,ComponentDeploymentSpecification> components)
The components to deploy.
|
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 |
setDeploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment.
|
void |
setDeploymentStatus(String deploymentStatus)
The status of the deployment.
|
void |
setIotJobArn(String iotJobArn)
The ARN of the IoT job
that applies the deployment to target devices.
|
void |
setIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration.
|
void |
setIotJobId(String iotJobId)
The ID of the IoT job that applies the deployment to target devices.
|
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 |
setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
void |
setTargetArn(String targetArn)
The ARN of the target
IoT thing or thing group.
|
String |
toString()
Returns a string representation of this object.
|
GetDeploymentResult |
withComponents(Map<String,ComponentDeploymentSpecification> components)
The components to deploy.
|
GetDeploymentResult |
withCreationTimestamp(Date creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
|
GetDeploymentResult |
withDeploymentId(String deploymentId)
The ID of the deployment.
|
GetDeploymentResult |
withDeploymentName(String deploymentName)
The name of the deployment.
|
GetDeploymentResult |
withDeploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment.
|
GetDeploymentResult |
withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
|
GetDeploymentResult |
withDeploymentStatus(String deploymentStatus)
The status of the deployment.
|
GetDeploymentResult |
withIotJobArn(String iotJobArn)
The ARN of the IoT job
that applies the deployment to target devices.
|
GetDeploymentResult |
withIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration.
|
GetDeploymentResult |
withIotJobId(String iotJobId)
The ID of the IoT job that applies the deployment to target devices.
|
GetDeploymentResult |
withIsLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
|
GetDeploymentResult |
withParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
|
GetDeploymentResult |
withRevisionId(String revisionId)
The revision number of the deployment.
|
GetDeploymentResult |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
GetDeploymentResult |
withTargetArn(String targetArn)
The ARN of the target
IoT thing or thing group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTargetArn(String targetArn)
The ARN of the target IoT thing or thing group.
targetArn
- The ARN of the
target IoT thing or thing group.public String getTargetArn()
The ARN of the target IoT thing or thing group.
public GetDeploymentResult withTargetArn(String targetArn)
The ARN of the target IoT thing or thing group.
targetArn
- The ARN of the
target 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 GetDeploymentResult 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 GetDeploymentResult 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 GetDeploymentResult withDeploymentName(String deploymentName)
The name of the deployment.
deploymentName
- The name of the deployment.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 GetDeploymentResult withDeploymentStatus(String deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public GetDeploymentResult withDeploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
deploymentStatus
- The status of the deployment.DeploymentStatus
public void setIotJobId(String iotJobId)
The ID of the IoT job that applies the deployment to target devices.
iotJobId
- The ID of the IoT job that applies the deployment to target devices.public String getIotJobId()
The ID of the IoT job that applies the deployment to target devices.
public GetDeploymentResult withIotJobId(String iotJobId)
The ID of the IoT job that applies the deployment to target devices.
iotJobId
- The ID of the IoT job that applies the deployment to target devices.public void setIotJobArn(String iotJobArn)
The ARN of the IoT job that applies the deployment to target devices.
iotJobArn
- The ARN of the
IoT job that applies the deployment to target devices.public String getIotJobArn()
The ARN of the IoT job that applies the deployment to target devices.
public GetDeploymentResult withIotJobArn(String iotJobArn)
The ARN of the IoT job that applies the deployment to target devices.
iotJobArn
- The ARN of the
IoT job that applies the deployment to target devices.public Map<String,ComponentDeploymentSpecification> getComponents()
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
public void setComponents(Map<String,ComponentDeploymentSpecification> components)
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
components
- The components to deploy. This is a dictionary, where each key is the name of a component, and each key's
value is the version and configuration to deploy for that component.public GetDeploymentResult withComponents(Map<String,ComponentDeploymentSpecification> components)
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
components
- The components to deploy. This is a dictionary, where each key is the name of a component, and each key's
value is the version and configuration to deploy for that component.public GetDeploymentResult addComponentsEntry(String key, ComponentDeploymentSpecification value)
public GetDeploymentResult clearComponentsEntries()
public void setDeploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
deploymentPolicies
- The deployment policies for the deployment. These policies define how the deployment updates components
and handles failure.public DeploymentPolicies getDeploymentPolicies()
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
public GetDeploymentResult withDeploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
deploymentPolicies
- The deployment policies for the deployment. These policies define how the deployment updates components
and handles failure.public void setIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
iotJobConfiguration
- The job configuration for the deployment configuration. The job configuration specifies the rollout,
timeout, and stop configurations for the deployment configuration.public DeploymentIoTJobConfiguration getIotJobConfiguration()
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
public GetDeploymentResult withIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
iotJobConfiguration
- The job configuration for the deployment configuration. The job configuration specifies the rollout,
timeout, and stop configurations for the deployment configuration.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 GetDeploymentResult 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 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 GetDeploymentResult 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 GetDeploymentResult withParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
parentTargetArn
- The parent deployment's target ARN within a
subdeployment.public Map<String,String> getTags()
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
public void setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
tags
- A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources
in the IoT Greengrass V2 Developer Guide.public GetDeploymentResult withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
tags
- A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources
in the IoT Greengrass V2 Developer Guide.public GetDeploymentResult addTagsEntry(String key, String value)
public GetDeploymentResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetDeploymentResult clone()