@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
addComponentsEntry(String key,
ComponentDeploymentSpecification value)
Add a single Components entry
|
CreateDeploymentRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDeploymentRequest |
clearComponentsEntries()
Removes all the entries added into Components.
|
CreateDeploymentRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDeploymentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
|
Map<String,ComponentDeploymentSpecification> |
getComponents()
The components to deploy.
|
String |
getDeploymentName()
The name of the deployment.
|
DeploymentPolicies |
getDeploymentPolicies()
The deployment policies for the deployment.
|
DeploymentIoTJobConfiguration |
getIotJobConfiguration()
The job configuration for the deployment configuration.
|
String |
getParentTargetArn()
The parent deployment's target ARN within a subdeployment.
|
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() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
|
void |
setComponents(Map<String,ComponentDeploymentSpecification> components)
The components to deploy.
|
void |
setDeploymentName(String deploymentName)
The name of the deployment.
|
void |
setDeploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment.
|
void |
setIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration.
|
void |
setParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
|
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.
|
CreateDeploymentRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
|
CreateDeploymentRequest |
withComponents(Map<String,ComponentDeploymentSpecification> components)
The components to deploy.
|
CreateDeploymentRequest |
withDeploymentName(String deploymentName)
The name of the deployment.
|
CreateDeploymentRequest |
withDeploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment.
|
CreateDeploymentRequest |
withIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration.
|
CreateDeploymentRequest |
withParentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
|
CreateDeploymentRequest |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
CreateDeploymentRequest |
withTargetArn(String targetArn)
The ARN of the target
IoT thing or thing group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateDeploymentRequest 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 setDeploymentName(String deploymentName)
The name of the deployment.
deploymentName
- The name of the deployment.public String getDeploymentName()
The name of the deployment.
public CreateDeploymentRequest withDeploymentName(String deploymentName)
The name of the deployment.
deploymentName
- The name of the deployment.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 CreateDeploymentRequest 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 CreateDeploymentRequest addComponentsEntry(String key, ComponentDeploymentSpecification value)
public CreateDeploymentRequest clearComponentsEntries()
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 CreateDeploymentRequest 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 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 CreateDeploymentRequest 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 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 CreateDeploymentRequest 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 CreateDeploymentRequest 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 CreateDeploymentRequest addTagsEntry(String key, String value)
public CreateDeploymentRequest clearTagsEntries()
public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
clientToken
- A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
Idempotency means that the request is successfully processed only once, even if you send the request
multiple times. When a request succeeds, and you specify the same client token for subsequent successful
requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous
request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.public String getClientToken()
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
public CreateDeploymentRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
clientToken
- A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
Idempotency means that the request is successfully processed only once, even if you send the request
multiple times. When a request succeeds, and you specify the same client token for subsequent successful
requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous
request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()