public class UpdateProvisioningTemplateRequest extends AmazonWebServiceRequest implements Serializable
Updates a fleet provisioning template.
| Constructor and Description |
|---|
UpdateProvisioningTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getDefaultVersionId()
The ID of the default provisioning template version.
|
String |
getDescription()
The description of the fleet provisioning template.
|
Boolean |
getEnabled()
True to enable the fleet provisioning template, otherwise false.
|
String |
getProvisioningRoleArn()
The ARN of the role associated with the 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 |
setDefaultVersionId(Integer defaultVersionId)
The ID of the default provisioning template version.
|
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 |
setProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
void |
setTemplateName(String templateName)
The name of the fleet provisioning template.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateProvisioningTemplateRequest |
withDefaultVersionId(Integer defaultVersionId)
The ID of the default provisioning template version.
|
UpdateProvisioningTemplateRequest |
withDescription(String description)
The description of the fleet provisioning template.
|
UpdateProvisioningTemplateRequest |
withEnabled(Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
|
UpdateProvisioningTemplateRequest |
withProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
UpdateProvisioningTemplateRequest |
withTemplateName(String templateName)
The name of the fleet provisioning template.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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(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 UpdateProvisioningTemplateRequest withTemplateName(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 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(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 UpdateProvisioningTemplateRequest withDescription(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 Boolean isEnabled()
True to enable the fleet provisioning template, otherwise false.
True to enable the fleet provisioning template, otherwise false.
public Boolean getEnabled()
True to enable the fleet provisioning template, otherwise false.
True to enable the fleet provisioning template, otherwise false.
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 UpdateProvisioningTemplateRequest withEnabled(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 Integer getDefaultVersionId()
The ID of the default provisioning template version.
The ID of the default provisioning template version.
public void setDefaultVersionId(Integer defaultVersionId)
The ID of the default provisioning template version.
defaultVersionId - The ID of the default provisioning template version.
public UpdateProvisioningTemplateRequest withDefaultVersionId(Integer defaultVersionId)
The ID of the default provisioning template version.
Returns a reference to this object so that method calls can be chained together.
defaultVersionId - The ID of the default provisioning template version.
public String getProvisioningRoleArn()
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
Constraints:
Length: 20 - 2048
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
public void setProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
Constraints:
Length: 20 - 2048
provisioningRoleArn - The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
public UpdateProvisioningTemplateRequest withProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the 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 ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.