@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) |
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.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the resource.
|
String |
getTargetArn()
The ARN of the target
AWS IoT thing or thing group.
|
int |
hashCode() |
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 |
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
AWS IoT thing or thing group.
|
String |
toString()
Returns a string representation of this object.
|
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 |
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
AWS 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 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 CreateDeploymentRequest 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 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 CreateDeploymentRequest 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 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 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 AWS 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 AWS 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 AWS
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 AWS 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 AWS
IoT Greengrass V2 Developer Guide.public CreateDeploymentRequest addTagsEntry(String key, String value)
public CreateDeploymentRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()