@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the provisioning template.
|
Boolean |
getEnabled()
True to enable the provisioning template, otherwise false.
|
ProvisioningHook |
getPreProvisioningHook()
Creates a pre-provisioning hook template.
|
String |
getProvisioningRoleArn()
The role ARN for the role associated with the provisioning template.
|
List<Tag> |
getTags()
Metadata which can be used to manage the provisioning template.
|
String |
getTemplateBody()
The JSON formatted contents of the provisioning template.
|
String |
getTemplateName()
The name of the provisioning template.
|
String |
getType()
The type you define in a provisioning template.
|
int |
hashCode() |
Boolean |
isEnabled()
True to enable the provisioning template, otherwise false.
|
void |
setDescription(String description)
The description of the provisioning template.
|
void |
setEnabled(Boolean enabled)
True to enable the 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 provisioning template.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the provisioning template.
|
void |
setTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
|
void |
setTemplateName(String templateName)
The name of the provisioning template.
|
void |
setType(String type)
The type you define in a provisioning template.
|
String |
toString()
Returns a string representation of this object.
|
CreateProvisioningTemplateRequest |
withDescription(String description)
The description of the provisioning template.
|
CreateProvisioningTemplateRequest |
withEnabled(Boolean enabled)
True to enable the 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 provisioning template.
|
CreateProvisioningTemplateRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the provisioning template.
|
CreateProvisioningTemplateRequest |
withTags(Tag... tags)
Metadata which can be used to manage the provisioning template.
|
CreateProvisioningTemplateRequest |
withTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
|
CreateProvisioningTemplateRequest |
withTemplateName(String templateName)
The name of the provisioning template.
|
CreateProvisioningTemplateRequest |
withType(String type)
The type you define in a provisioning template.
|
CreateProvisioningTemplateRequest |
withType(TemplateType type)
The type you define in a provisioning template.
|
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 setTemplateName(String templateName)
The name of the provisioning template.
templateName
- The name of the provisioning template.public String getTemplateName()
The name of the provisioning template.
public CreateProvisioningTemplateRequest withTemplateName(String templateName)
The name of the provisioning template.
templateName
- The name of the provisioning template.public void setDescription(String description)
The description of the provisioning template.
description
- The description of the provisioning template.public String getDescription()
The description of the provisioning template.
public CreateProvisioningTemplateRequest withDescription(String description)
The description of the provisioning template.
description
- The description of the provisioning template.public void setTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
templateBody
- The JSON formatted contents of the provisioning template.public String getTemplateBody()
The JSON formatted contents of the provisioning template.
public CreateProvisioningTemplateRequest withTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
templateBody
- The JSON formatted contents of the provisioning template.public void setEnabled(Boolean enabled)
True to enable the provisioning template, otherwise false.
enabled
- True to enable the provisioning template, otherwise false.public Boolean getEnabled()
True to enable the provisioning template, otherwise false.
public CreateProvisioningTemplateRequest withEnabled(Boolean enabled)
True to enable the provisioning template, otherwise false.
enabled
- True to enable the provisioning template, otherwise false.public Boolean isEnabled()
True to enable the provisioning template, otherwise false.
public void setProvisioningRoleArn(String provisioningRoleArn)
The role ARN for the role associated with the provisioning template. This IoT role grants permission to provision a device.
provisioningRoleArn
- The role ARN for the role associated with the provisioning template. This IoT role grants permission to
provision a device.public String getProvisioningRoleArn()
The role ARN for the role associated with the 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 provisioning template. This IoT role grants permission to provision a device.
provisioningRoleArn
- The role ARN for the role associated with the provisioning template. This IoT role grants permission to
provision a device.public void setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For
more information about provisioning template types, see type.
preProvisioningHook
- Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
.
For more information about provisioning template types, see type.public ProvisioningHook getPreProvisioningHook()
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For
more information about provisioning template types, see type.
FLEET_PROVISIONING
.
For more information about provisioning template types, see type.public CreateProvisioningTemplateRequest withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For
more information about provisioning template types, see type.
preProvisioningHook
- Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
.
For more information about provisioning template types, see type.public List<Tag> getTags()
Metadata which can be used to manage the 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 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 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 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 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 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 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 void setType(String type)
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
type
- The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public String getType()
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public CreateProvisioningTemplateRequest withType(String type)
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
type
- The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public CreateProvisioningTemplateRequest withType(TemplateType type)
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
type
- The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public String toString()
toString
in class Object
Object.toString()
public CreateProvisioningTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()