@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 provisioning template was created.
|
Integer |
getDefaultVersionId()
The default fleet template version ID.
|
String |
getDescription()
The description of the provisioning template.
|
Boolean |
getEnabled()
True if the provisioning template is enabled, otherwise false.
|
Date |
getLastModifiedDate()
The date when the 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 provisioning template.
|
String |
getTemplateBody()
The JSON formatted contents of the provisioning template.
|
String |
getTemplateName()
The name of the provisioning template.
|
String |
getType()
The type you define in a provisioning template.
|
int |
hashCode() |
Boolean |
isEnabled()
True if the provisioning template is enabled, otherwise false.
|
void |
setCreationDate(Date creationDate)
The date when the provisioning template was created.
|
void |
setDefaultVersionId(Integer defaultVersionId)
The default fleet template version ID.
|
void |
setDescription(String description)
The description of the provisioning template.
|
void |
setEnabled(Boolean enabled)
True if the provisioning template is enabled, otherwise false.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date when the 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 provisioning template.
|
void |
setTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
|
void |
setTemplateName(String templateName)
The name of the provisioning template.
|
void |
setType(String type)
The type you define in a provisioning template.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProvisioningTemplateResult |
withCreationDate(Date creationDate)
The date when the provisioning template was created.
|
DescribeProvisioningTemplateResult |
withDefaultVersionId(Integer defaultVersionId)
The default fleet template version ID.
|
DescribeProvisioningTemplateResult |
withDescription(String description)
The description of the provisioning template.
|
DescribeProvisioningTemplateResult |
withEnabled(Boolean enabled)
True if the provisioning template is enabled, otherwise false.
|
DescribeProvisioningTemplateResult |
withLastModifiedDate(Date lastModifiedDate)
The date when the 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 provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateName(String templateName)
The name of the provisioning template.
|
DescribeProvisioningTemplateResult |
withType(String type)
The type you define in a provisioning template.
|
DescribeProvisioningTemplateResult |
withType(TemplateType type)
The type you define in a provisioning template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateArn(String templateArn)
The ARN of the provisioning template.
templateArn
- The ARN of the provisioning template.public String getTemplateArn()
The ARN of the provisioning template.
public DescribeProvisioningTemplateResult withTemplateArn(String templateArn)
The ARN of the provisioning template.
templateArn
- The ARN of the provisioning template.public void setTemplateName(String templateName)
The name of the provisioning template.
templateName
- The name of the provisioning template.public String getTemplateName()
The name of the provisioning template.
public DescribeProvisioningTemplateResult withTemplateName(String templateName)
The name of the provisioning template.
templateName
- The name of the provisioning template.public void setDescription(String description)
The description of the provisioning template.
description
- The description of the provisioning template.public String getDescription()
The description of the provisioning template.
public DescribeProvisioningTemplateResult withDescription(String description)
The description of the provisioning template.
description
- The description of the provisioning template.public void setCreationDate(Date creationDate)
The date when the provisioning template was created.
creationDate
- The date when the provisioning template was created.public Date getCreationDate()
The date when the provisioning template was created.
public DescribeProvisioningTemplateResult withCreationDate(Date creationDate)
The date when the provisioning template was created.
creationDate
- The date when the provisioning template was created.public void setLastModifiedDate(Date lastModifiedDate)
The date when the provisioning template was last modified.
lastModifiedDate
- The date when the provisioning template was last modified.public Date getLastModifiedDate()
The date when the provisioning template was last modified.
public DescribeProvisioningTemplateResult withLastModifiedDate(Date lastModifiedDate)
The date when the provisioning template was last modified.
lastModifiedDate
- The date when the 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 provisioning template.
templateBody
- The JSON formatted contents of the provisioning template.public String getTemplateBody()
The JSON formatted contents of the provisioning template.
public DescribeProvisioningTemplateResult withTemplateBody(String templateBody)
The JSON formatted contents of the provisioning template.
templateBody
- The JSON formatted contents of the provisioning template.public void setEnabled(Boolean enabled)
True if the provisioning template is enabled, otherwise false.
enabled
- True if the provisioning template is enabled, otherwise false.public Boolean getEnabled()
True if the provisioning template is enabled, otherwise false.
public DescribeProvisioningTemplateResult withEnabled(Boolean enabled)
True if the provisioning template is enabled, otherwise false.
enabled
- True if the provisioning template is enabled, otherwise false.public Boolean isEnabled()
True if the 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 void setType(String type)
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
type
- The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public String getType()
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public DescribeProvisioningTemplateResult withType(String type)
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
type
- The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public DescribeProvisioningTemplateResult withType(TemplateType type)
The type you define in a provisioning template. You can create a template with only one type. You can't change
the template type after its creation. The default value is FLEET_PROVISIONING
. For more information
about provisioning template, see: Provisioning template.
type
- The type you define in a provisioning template. You can create a template with only one type. You can't
change the template type after its creation. The default value is FLEET_PROVISIONING
. For
more information about provisioning template, see: Provisioning
template.TemplateType
public String toString()
toString
in class Object
Object.toString()
public DescribeProvisioningTemplateResult clone()