public class UpdateProvisioningTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates a fleet provisioning template.
Constructor and Description |
---|
UpdateProvisioningTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getDefaultVersionId()
The ID of the default provisioning template version.
|
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()
Updates the pre-provisioning hook template.
|
java.lang.String |
getProvisioningRoleArn()
The ARN of the role associated with the provisioning template.
|
java.lang.Boolean |
getRemovePreProvisioningHook()
Removes pre-provisioning hook 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.
|
java.lang.Boolean |
isRemovePreProvisioningHook()
Removes pre-provisioning hook template.
|
void |
setDefaultVersionId(java.lang.Integer defaultVersionId)
The ID of the default provisioning template version.
|
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)
Updates the pre-provisioning hook template.
|
void |
setProvisioningRoleArn(java.lang.String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
void |
setRemovePreProvisioningHook(java.lang.Boolean removePreProvisioningHook)
Removes pre-provisioning hook 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.
|
UpdateProvisioningTemplateRequest |
withDefaultVersionId(java.lang.Integer defaultVersionId)
The ID of the default provisioning template version.
|
UpdateProvisioningTemplateRequest |
withDescription(java.lang.String description)
The description of the fleet provisioning template.
|
UpdateProvisioningTemplateRequest |
withEnabled(java.lang.Boolean enabled)
True to enable the fleet provisioning template, otherwise false.
|
UpdateProvisioningTemplateRequest |
withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
|
UpdateProvisioningTemplateRequest |
withProvisioningRoleArn(java.lang.String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
UpdateProvisioningTemplateRequest |
withRemovePreProvisioningHook(java.lang.Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
|
UpdateProvisioningTemplateRequest |
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 UpdateProvisioningTemplateRequest 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 UpdateProvisioningTemplateRequest 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.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 UpdateProvisioningTemplateRequest 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.Integer getDefaultVersionId()
The ID of the default provisioning template version.
The ID of the default provisioning template version.
public void setDefaultVersionId(java.lang.Integer defaultVersionId)
The ID of the default provisioning template version.
defaultVersionId
- The ID of the default provisioning template version.
public UpdateProvisioningTemplateRequest withDefaultVersionId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 ProvisioningHook getPreProvisioningHook()
Updates the pre-provisioning hook template.
Updates the pre-provisioning hook template.
public void setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
preProvisioningHook
- Updates the pre-provisioning hook template.
public UpdateProvisioningTemplateRequest withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
Returns a reference to this object so that method calls can be chained together.
preProvisioningHook
- Updates the pre-provisioning hook template.
public java.lang.Boolean isRemovePreProvisioningHook()
Removes pre-provisioning hook template.
Removes pre-provisioning hook template.
public java.lang.Boolean getRemovePreProvisioningHook()
Removes pre-provisioning hook template.
Removes pre-provisioning hook template.
public void setRemovePreProvisioningHook(java.lang.Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
removePreProvisioningHook
- Removes pre-provisioning hook template.
public UpdateProvisioningTemplateRequest withRemovePreProvisioningHook(java.lang.Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
Returns a reference to this object so that method calls can be chained together.
removePreProvisioningHook
- Removes pre-provisioning hook template.
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.