@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProvisioningTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProvisioningTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProvisioningTemplateRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the fleet provisioning template.
|
Boolean |
getEnabled()
True to enable the fleet provisioning template, otherwise false.
|
ProvisioningHook |
getPreProvisioningHook()
Creates a pre-provisioning hook template.
|
String |
getProvisioningRoleArn()
The role ARN for the role associated with the fleet provisioning template.
|
List<Tag> |
getTags()
Metadata which can be used to manage the fleet provisioning template.
|
String |
getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
|
String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
Boolean |
isEnabled()
True to enable the fleet provisioning template, otherwise false.
|
void |
setDescription(String description)
The description of the fleet provisioning template.
|
void |
setEnabled(Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
|
void |
setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
|
void |
setProvisioningRoleArn(String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning template.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the fleet provisioning template.
|
void |
setTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
void |
setTemplateName(String templateName)
The name of the fleet provisioning template.
|
String |
toString()
Returns a string representation of this object.
|
CreateProvisioningTemplateRequest |
withDescription(String description)
The description of the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withEnabled(Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
|
CreateProvisioningTemplateRequest |
withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
|
CreateProvisioningTemplateRequest |
withProvisioningRoleArn(String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withTags(Tag... tags)
Metadata which can be used to manage the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withTemplateName(String templateName)
The name of the fleet provisioning template.
|
addHandlerContext, copyBaseTo, 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 setTemplateName(String templateName)
The name of the fleet provisioning template.
templateName
- The name of the fleet provisioning template.public String getTemplateName()
The name of the fleet provisioning template.
public CreateProvisioningTemplateRequest withTemplateName(String templateName)
The name of the fleet provisioning template.
templateName
- The name of the fleet provisioning template.public void setDescription(String description)
The description of the fleet provisioning template.
description
- The description of the fleet provisioning template.public String getDescription()
The description of the fleet provisioning template.
public CreateProvisioningTemplateRequest withDescription(String description)
The description of the fleet provisioning template.
description
- The description of the fleet provisioning template.public void setTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.public String getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
public CreateProvisioningTemplateRequest withTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.public void setEnabled(Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
enabled
- True to enable the fleet provisioning template, otherwise false.public Boolean getEnabled()
True to enable the fleet provisioning template, otherwise false.
public CreateProvisioningTemplateRequest withEnabled(Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
enabled
- True to enable the fleet provisioning template, otherwise false.public Boolean isEnabled()
True to enable the fleet provisioning template, otherwise false.
public void setProvisioningRoleArn(String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
provisioningRoleArn
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission
to provision a device.public String getProvisioningRoleArn()
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
public CreateProvisioningTemplateRequest withProvisioningRoleArn(String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
provisioningRoleArn
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission
to provision a device.public void setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
preProvisioningHook
- Creates a pre-provisioning hook template.public ProvisioningHook getPreProvisioningHook()
Creates a pre-provisioning hook template.
public CreateProvisioningTemplateRequest withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
preProvisioningHook
- Creates a pre-provisioning hook template.public List<Tag> getTags()
Metadata which can be used to manage the fleet provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the fleet provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the fleet provisioning template. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateProvisioningTemplateRequest withTags(Tag... tags)
Metadata which can be used to manage the fleet provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
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 the fleet provisioning template. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public CreateProvisioningTemplateRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the fleet provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the fleet provisioning template. For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public String toString()
toString
in class Object
Object.toString()
public CreateProvisioningTemplateRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.