@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProvisioningTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeProvisioningTemplateResult() |
Modifier and Type | Method and Description |
---|---|
DescribeProvisioningTemplateResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date when the fleet provisioning template was created.
|
Integer |
getDefaultVersionId()
The default fleet template version ID.
|
String |
getDescription()
The description of the fleet provisioning template.
|
Boolean |
getEnabled()
True if the fleet provisioning template is enabled, otherwise false.
|
Date |
getLastModifiedDate()
The date when the fleet provisioning template was last modified.
|
ProvisioningHook |
getPreProvisioningHook()
Gets information about a pre-provisioned hook.
|
String |
getProvisioningRoleArn()
The ARN of the role associated with the provisioning template.
|
String |
getTemplateArn()
The ARN of the fleet provisioning template.
|
String |
getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
|
String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
Boolean |
isEnabled()
True if the fleet provisioning template is enabled, otherwise false.
|
void |
setCreationDate(Date creationDate)
The date when the fleet provisioning template was created.
|
void |
setDefaultVersionId(Integer defaultVersionId)
The default fleet template version ID.
|
void |
setDescription(String description)
The description of the fleet provisioning template.
|
void |
setEnabled(Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date when the fleet provisioning template was last modified.
|
void |
setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Gets information about a pre-provisioned hook.
|
void |
setProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
void |
setTemplateArn(String templateArn)
The ARN of the fleet provisioning template.
|
void |
setTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
void |
setTemplateName(String templateName)
The name of the fleet provisioning template.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProvisioningTemplateResult |
withCreationDate(Date creationDate)
The date when the fleet provisioning template was created.
|
DescribeProvisioningTemplateResult |
withDefaultVersionId(Integer defaultVersionId)
The default fleet template version ID.
|
DescribeProvisioningTemplateResult |
withDescription(String description)
The description of the fleet provisioning template.
|
DescribeProvisioningTemplateResult |
withEnabled(Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
|
DescribeProvisioningTemplateResult |
withLastModifiedDate(Date lastModifiedDate)
The date when the fleet provisioning template was last modified.
|
DescribeProvisioningTemplateResult |
withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Gets information about a pre-provisioned hook.
|
DescribeProvisioningTemplateResult |
withProvisioningRoleArn(String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateArn(String templateArn)
The ARN of the fleet provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateName(String templateName)
The name of the fleet provisioning template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateArn(String templateArn)
The ARN of the fleet provisioning template.
templateArn
- The ARN of the fleet provisioning template.public String getTemplateArn()
The ARN of the fleet provisioning template.
public DescribeProvisioningTemplateResult withTemplateArn(String templateArn)
The ARN of the fleet provisioning template.
templateArn
- The ARN of the fleet provisioning template.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 DescribeProvisioningTemplateResult 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 DescribeProvisioningTemplateResult withDescription(String description)
The description of the fleet provisioning template.
description
- The description of the fleet provisioning template.public void setCreationDate(Date creationDate)
The date when the fleet provisioning template was created.
creationDate
- The date when the fleet provisioning template was created.public Date getCreationDate()
The date when the fleet provisioning template was created.
public DescribeProvisioningTemplateResult withCreationDate(Date creationDate)
The date when the fleet provisioning template was created.
creationDate
- The date when the fleet provisioning template was created.public void setLastModifiedDate(Date lastModifiedDate)
The date when the fleet provisioning template was last modified.
lastModifiedDate
- The date when the fleet provisioning template was last modified.public Date getLastModifiedDate()
The date when the fleet provisioning template was last modified.
public DescribeProvisioningTemplateResult withLastModifiedDate(Date lastModifiedDate)
The date when the fleet provisioning template was last modified.
lastModifiedDate
- The date when the fleet provisioning template was last modified.public void setDefaultVersionId(Integer defaultVersionId)
The default fleet template version ID.
defaultVersionId
- The default fleet template version ID.public Integer getDefaultVersionId()
The default fleet template version ID.
public DescribeProvisioningTemplateResult withDefaultVersionId(Integer defaultVersionId)
The default fleet template version ID.
defaultVersionId
- The default fleet template version ID.public void setTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.public String getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
public DescribeProvisioningTemplateResult withTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.public void setEnabled(Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
enabled
- True if the fleet provisioning template is enabled, otherwise false.public Boolean getEnabled()
True if the fleet provisioning template is enabled, otherwise false.
public DescribeProvisioningTemplateResult withEnabled(Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
enabled
- True if the fleet provisioning template is enabled, otherwise false.public Boolean isEnabled()
True if the fleet provisioning template is enabled, otherwise false.
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 DescribeProvisioningTemplateResult 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)
Gets information about a pre-provisioned hook.
preProvisioningHook
- Gets information about a pre-provisioned hook.public ProvisioningHook getPreProvisioningHook()
Gets information about a pre-provisioned hook.
public DescribeProvisioningTemplateResult withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Gets information about a pre-provisioned hook.
preProvisioningHook
- Gets information about a pre-provisioned hook.public String toString()
toString
in class Object
Object.toString()
public DescribeProvisioningTemplateResult clone()