@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProvisioningTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProvisioningTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProvisioningTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
ProvisioningHook |
getPreProvisioningHook()
Updates the pre-provisioning hook template.
|
String |
getProvisioningRoleArn()
The ARN of the role associated with the provisioning template.
|
Boolean |
getRemovePreProvisioningHook()
Removes pre-provisioning hook template.
|
String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
Boolean |
isEnabled()
True to enable the fleet provisioning template, otherwise false.
|
Boolean |
isRemovePreProvisioningHook()
Removes pre-provisioning hook template.
|
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 |
setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
|
void |
setProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
void |
setRemovePreProvisioningHook(Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
|
void |
setTemplateName(String templateName)
The name of the fleet provisioning template.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
|
UpdateProvisioningTemplateRequest |
withProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
UpdateProvisioningTemplateRequest |
withRemovePreProvisioningHook(Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
|
UpdateProvisioningTemplateRequest |
withTemplateName(String templateName)
The name of the fleet 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 fleet provisioning template.
templateName
- The name of the fleet provisioning template.public String getTemplateName()
The name of the fleet provisioning template.
public UpdateProvisioningTemplateRequest 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 UpdateProvisioningTemplateRequest withDescription(String description)
The description of the fleet provisioning template.
description
- The description 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 UpdateProvisioningTemplateRequest 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 setDefaultVersionId(Integer defaultVersionId)
The ID of the default provisioning template version.
defaultVersionId
- The ID of the default provisioning template version.public Integer getDefaultVersionId()
The ID of the default provisioning template version.
public UpdateProvisioningTemplateRequest withDefaultVersionId(Integer defaultVersionId)
The ID of the default provisioning template version.
defaultVersionId
- The ID of the default provisioning template version.public void setProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
provisioningRoleArn
- The ARN of the role associated with the provisioning template. This IoT role grants permission to
provision a device.public String getProvisioningRoleArn()
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.
provisioningRoleArn
- The ARN of the role associated with the provisioning template. This IoT role grants permission to
provision a device.public void setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
preProvisioningHook
- Updates the pre-provisioning hook template.public ProvisioningHook getPreProvisioningHook()
Updates the pre-provisioning hook template.
public UpdateProvisioningTemplateRequest withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Updates the pre-provisioning hook template.
preProvisioningHook
- Updates the pre-provisioning hook template.public void setRemovePreProvisioningHook(Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
removePreProvisioningHook
- Removes pre-provisioning hook template.public Boolean getRemovePreProvisioningHook()
Removes pre-provisioning hook template.
public UpdateProvisioningTemplateRequest withRemovePreProvisioningHook(Boolean removePreProvisioningHook)
Removes pre-provisioning hook template.
removePreProvisioningHook
- Removes pre-provisioning hook template.public Boolean isRemovePreProvisioningHook()
Removes pre-provisioning hook template.
public String toString()
toString
in class Object
Object.toString()
public UpdateProvisioningTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()