public class CreateProvisioningTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a fleet provisioning template.
Constructor and Description |
---|
CreateProvisioningTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the fleet provisioning template.
|
java.lang.Boolean |
getEnabled()
True to enable the fleet provisioning template, otherwise false.
|
ProvisioningHook |
getPreProvisioningHook()
Creates a pre-provisioning hook template.
|
java.lang.String |
getProvisioningRoleArn()
The role ARN for the role associated with the fleet provisioning
template.
|
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the fleet provisioning template.
|
java.lang.String |
getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
|
java.lang.String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
True to enable the fleet provisioning template, otherwise false.
|
void |
setDescription(java.lang.String description)
The description of the fleet provisioning template.
|
void |
setEnabled(java.lang.Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
|
void |
setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
|
void |
setProvisioningRoleArn(java.lang.String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning
template.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the fleet provisioning template.
|
void |
setTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
void |
setTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateProvisioningTemplateRequest |
withDescription(java.lang.String description)
The description of the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withEnabled(java.lang.Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
|
CreateProvisioningTemplateRequest |
withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
|
CreateProvisioningTemplateRequest |
withProvisioningRoleArn(java.lang.String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning
template.
|
CreateProvisioningTemplateRequest |
withTags(java.util.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(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
CreateProvisioningTemplateRequest |
withTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTemplateName()
The name of the fleet provisioning template.
Constraints:
Length: 1 - 36
Pattern: ^[0-9A-Za-z_-]+$
The name of the fleet provisioning template.
public void setTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
Constraints:
Length: 1 - 36
Pattern: ^[0-9A-Za-z_-]+$
templateName
- The name of the fleet provisioning template.
public CreateProvisioningTemplateRequest withTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 36
Pattern: ^[0-9A-Za-z_-]+$
templateName
- The name of the fleet provisioning template.
public java.lang.String getDescription()
The description of the fleet provisioning template.
Constraints:
Length: 0 - 500
Pattern: [^\p{C}]*
The description of the fleet provisioning template.
public void setDescription(java.lang.String description)
The description of the fleet provisioning template.
Constraints:
Length: 0 - 500
Pattern: [^\p{C}]*
description
- The description of the fleet provisioning template.
public CreateProvisioningTemplateRequest withDescription(java.lang.String description)
The description of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 500
Pattern: [^\p{C}]*
description
- The description of the fleet provisioning template.
public java.lang.String getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
The JSON formatted contents of the fleet provisioning template.
public void setTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.
public CreateProvisioningTemplateRequest withTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
templateBody
- The JSON formatted contents of the fleet provisioning template.
public java.lang.Boolean isEnabled()
True to enable the fleet provisioning template, otherwise false.
True to enable the fleet provisioning template, otherwise false.
public java.lang.Boolean getEnabled()
True to enable the fleet provisioning template, otherwise false.
True to enable the fleet provisioning template, otherwise false.
public void setEnabled(java.lang.Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
enabled
- True to enable the fleet provisioning template, otherwise false.
public CreateProvisioningTemplateRequest withEnabled(java.lang.Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
Returns a reference to this object so that method calls can be chained together.
enabled
- True to enable the fleet provisioning template, otherwise false.
public java.lang.String getProvisioningRoleArn()
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
Constraints:
Length: 20 - 2048
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
public void setProvisioningRoleArn(java.lang.String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
Constraints:
Length: 20 - 2048
provisioningRoleArn
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
public CreateProvisioningTemplateRequest withProvisioningRoleArn(java.lang.String provisioningRoleArn)
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
provisioningRoleArn
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
public ProvisioningHook getPreProvisioningHook()
Creates a pre-provisioning hook template.
Creates a pre-provisioning hook template.
public void setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
preProvisioningHook
- Creates a pre-provisioning hook template.
public CreateProvisioningTemplateRequest withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Creates a pre-provisioning hook template.
Returns a reference to this object so that method calls can be chained together.
preProvisioningHook
- Creates a pre-provisioning hook template.
public java.util.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..."
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 void setTags(java.util.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..."
Returns a reference to this object so that method calls can be chained together.
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(java.util.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..."
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.