@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOTAUpdateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateOTAUpdateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOTAUpdateRequest |
addAdditionalParametersEntry(String key,
String value) |
CreateOTAUpdateRequest |
clearAdditionalParametersEntries()
Removes all the entries added into AdditionalParameters.
|
CreateOTAUpdateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalParameters()
A list of additional OTA update parameters which are name-value pairs.
|
AwsJobExecutionsRolloutConfig |
getAwsJobExecutionsRolloutConfig()
Configuration for the rollout of OTA updates.
|
String |
getDescription()
The description of the OTA update.
|
List<OTAUpdateFile> |
getFiles()
The files to be streamed by the OTA update.
|
String |
getOtaUpdateId()
The ID of the OTA update to be created.
|
String |
getRoleArn()
The IAM role that allows access to the AWS IoT Jobs service.
|
List<Tag> |
getTags()
Metadata which can be used to manage updates.
|
List<String> |
getTargets()
The targeted devices to receive OTA updates.
|
String |
getTargetSelection()
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT).
|
int |
hashCode() |
void |
setAdditionalParameters(Map<String,String> additionalParameters)
A list of additional OTA update parameters which are name-value pairs.
|
void |
setAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
|
void |
setDescription(String description)
The description of the OTA update.
|
void |
setFiles(Collection<OTAUpdateFile> files)
The files to be streamed by the OTA update.
|
void |
setOtaUpdateId(String otaUpdateId)
The ID of the OTA update to be created.
|
void |
setRoleArn(String roleArn)
The IAM role that allows access to the AWS IoT Jobs service.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage updates.
|
void |
setTargets(Collection<String> targets)
The targeted devices to receive OTA updates.
|
void |
setTargetSelection(String targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT).
|
String |
toString()
Returns a string representation of this object.
|
CreateOTAUpdateRequest |
withAdditionalParameters(Map<String,String> additionalParameters)
A list of additional OTA update parameters which are name-value pairs.
|
CreateOTAUpdateRequest |
withAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
|
CreateOTAUpdateRequest |
withDescription(String description)
The description of the OTA update.
|
CreateOTAUpdateRequest |
withFiles(Collection<OTAUpdateFile> files)
The files to be streamed by the OTA update.
|
CreateOTAUpdateRequest |
withFiles(OTAUpdateFile... files)
The files to be streamed by the OTA update.
|
CreateOTAUpdateRequest |
withOtaUpdateId(String otaUpdateId)
The ID of the OTA update to be created.
|
CreateOTAUpdateRequest |
withRoleArn(String roleArn)
The IAM role that allows access to the AWS IoT Jobs service.
|
CreateOTAUpdateRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage updates.
|
CreateOTAUpdateRequest |
withTags(Tag... tags)
Metadata which can be used to manage updates.
|
CreateOTAUpdateRequest |
withTargets(Collection<String> targets)
The targeted devices to receive OTA updates.
|
CreateOTAUpdateRequest |
withTargets(String... targets)
The targeted devices to receive OTA updates.
|
CreateOTAUpdateRequest |
withTargetSelection(String targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT).
|
CreateOTAUpdateRequest |
withTargetSelection(TargetSelection targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT).
|
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 setOtaUpdateId(String otaUpdateId)
The ID of the OTA update to be created.
otaUpdateId
- The ID of the OTA update to be created.public String getOtaUpdateId()
The ID of the OTA update to be created.
public CreateOTAUpdateRequest withOtaUpdateId(String otaUpdateId)
The ID of the OTA update to be created.
otaUpdateId
- The ID of the OTA update to be created.public void setDescription(String description)
The description of the OTA update.
description
- The description of the OTA update.public String getDescription()
The description of the OTA update.
public CreateOTAUpdateRequest withDescription(String description)
The description of the OTA update.
description
- The description of the OTA update.public List<String> getTargets()
The targeted devices to receive OTA updates.
public void setTargets(Collection<String> targets)
The targeted devices to receive OTA updates.
targets
- The targeted devices to receive OTA updates.public CreateOTAUpdateRequest withTargets(String... targets)
The targeted devices to receive OTA updates.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The targeted devices to receive OTA updates.public CreateOTAUpdateRequest withTargets(Collection<String> targets)
The targeted devices to receive OTA updates.
targets
- The targeted devices to receive OTA updates.public void setTargetSelection(String targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
targetSelection
- Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a
thing when a change is detected in a target. For example, an update will run on a thing when the thing is
added to a target group, even after the update was completed by all things originally in the group. Valid
values: CONTINUOUS | SNAPSHOT.TargetSelection
public String getTargetSelection()
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
TargetSelection
public CreateOTAUpdateRequest withTargetSelection(String targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
targetSelection
- Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a
thing when a change is detected in a target. For example, an update will run on a thing when the thing is
added to a target group, even after the update was completed by all things originally in the group. Valid
values: CONTINUOUS | SNAPSHOT.TargetSelection
public CreateOTAUpdateRequest withTargetSelection(TargetSelection targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
targetSelection
- Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a
thing when a change is detected in a target. For example, an update will run on a thing when the thing is
added to a target group, even after the update was completed by all things originally in the group. Valid
values: CONTINUOUS | SNAPSHOT.TargetSelection
public void setAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
awsJobExecutionsRolloutConfig
- Configuration for the rollout of OTA updates.public AwsJobExecutionsRolloutConfig getAwsJobExecutionsRolloutConfig()
Configuration for the rollout of OTA updates.
public CreateOTAUpdateRequest withAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
awsJobExecutionsRolloutConfig
- Configuration for the rollout of OTA updates.public List<OTAUpdateFile> getFiles()
The files to be streamed by the OTA update.
public void setFiles(Collection<OTAUpdateFile> files)
The files to be streamed by the OTA update.
files
- The files to be streamed by the OTA update.public CreateOTAUpdateRequest withFiles(OTAUpdateFile... files)
The files to be streamed by the OTA update.
NOTE: This method appends the values to the existing list (if any). Use
setFiles(java.util.Collection)
or withFiles(java.util.Collection)
if you want to override the
existing values.
files
- The files to be streamed by the OTA update.public CreateOTAUpdateRequest withFiles(Collection<OTAUpdateFile> files)
The files to be streamed by the OTA update.
files
- The files to be streamed by the OTA update.public void setRoleArn(String roleArn)
The IAM role that allows access to the AWS IoT Jobs service.
roleArn
- The IAM role that allows access to the AWS IoT Jobs service.public String getRoleArn()
The IAM role that allows access to the AWS IoT Jobs service.
public CreateOTAUpdateRequest withRoleArn(String roleArn)
The IAM role that allows access to the AWS IoT Jobs service.
roleArn
- The IAM role that allows access to the AWS IoT Jobs service.public Map<String,String> getAdditionalParameters()
A list of additional OTA update parameters which are name-value pairs.
public void setAdditionalParameters(Map<String,String> additionalParameters)
A list of additional OTA update parameters which are name-value pairs.
additionalParameters
- A list of additional OTA update parameters which are name-value pairs.public CreateOTAUpdateRequest withAdditionalParameters(Map<String,String> additionalParameters)
A list of additional OTA update parameters which are name-value pairs.
additionalParameters
- A list of additional OTA update parameters which are name-value pairs.public CreateOTAUpdateRequest addAdditionalParametersEntry(String key, String value)
public CreateOTAUpdateRequest clearAdditionalParametersEntries()
public List<Tag> getTags()
Metadata which can be used to manage updates.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage updates.
tags
- Metadata which can be used to manage updates.public CreateOTAUpdateRequest withTags(Tag... tags)
Metadata which can be used to manage updates.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage updates.public CreateOTAUpdateRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage updates.
tags
- Metadata which can be used to manage updates.public String toString()
toString
in class Object
Object.toString()
public CreateOTAUpdateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.