public class DescribeProvisioningTemplateResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeProvisioningTemplateResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
The date when the fleet provisioning template was created.
|
java.lang.Integer |
getDefaultVersionId()
The default fleet template version ID.
|
java.lang.String |
getDescription()
The description of the fleet provisioning template.
|
java.lang.Boolean |
getEnabled()
True if the fleet provisioning template is enabled, otherwise false.
|
java.util.Date |
getLastModifiedDate()
The date when the fleet provisioning template was last modified.
|
ProvisioningHook |
getPreProvisioningHook()
Gets information about a pre-provisioned hook.
|
java.lang.String |
getProvisioningRoleArn()
The ARN of the role associated with the provisioning template.
|
java.lang.String |
getTemplateArn()
The ARN of the fleet provisioning template.
|
java.lang.String |
getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
|
java.lang.String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
True if the fleet provisioning template is enabled, otherwise false.
|
void |
setCreationDate(java.util.Date creationDate)
The date when the fleet provisioning template was created.
|
void |
setDefaultVersionId(java.lang.Integer defaultVersionId)
The default fleet template version ID.
|
void |
setDescription(java.lang.String description)
The description of the fleet provisioning template.
|
void |
setEnabled(java.lang.Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
|
void |
setLastModifiedDate(java.util.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(java.lang.String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
void |
setTemplateArn(java.lang.String templateArn)
The ARN of the fleet provisioning template.
|
void |
setTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning 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.
|
DescribeProvisioningTemplateResult |
withCreationDate(java.util.Date creationDate)
The date when the fleet provisioning template was created.
|
DescribeProvisioningTemplateResult |
withDefaultVersionId(java.lang.Integer defaultVersionId)
The default fleet template version ID.
|
DescribeProvisioningTemplateResult |
withDescription(java.lang.String description)
The description of the fleet provisioning template.
|
DescribeProvisioningTemplateResult |
withEnabled(java.lang.Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
|
DescribeProvisioningTemplateResult |
withLastModifiedDate(java.util.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(java.lang.String provisioningRoleArn)
The ARN of the role associated with the provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateArn(java.lang.String templateArn)
The ARN of the fleet provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
DescribeProvisioningTemplateResult |
withTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
|
public java.lang.String getTemplateArn()
The ARN of the fleet provisioning template.
The ARN of the fleet provisioning template.
public void setTemplateArn(java.lang.String templateArn)
The ARN of the fleet provisioning template.
templateArn
- The ARN of the fleet provisioning template.
public DescribeProvisioningTemplateResult withTemplateArn(java.lang.String templateArn)
The ARN of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
templateArn
- The ARN of the fleet provisioning template.
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 DescribeProvisioningTemplateResult 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 DescribeProvisioningTemplateResult 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.util.Date getCreationDate()
The date when the fleet provisioning template was created.
The date when the fleet provisioning template was created.
public void setCreationDate(java.util.Date creationDate)
The date when the fleet provisioning template was created.
creationDate
- The date when the fleet provisioning template was created.
public DescribeProvisioningTemplateResult withCreationDate(java.util.Date creationDate)
The date when the fleet provisioning template was created.
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date when the fleet provisioning template was created.
public java.util.Date getLastModifiedDate()
The date when the fleet provisioning template was last modified.
The date when the fleet provisioning template was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date when the fleet provisioning template was last modified.
lastModifiedDate
- The date when the fleet provisioning template was last modified.
public DescribeProvisioningTemplateResult withLastModifiedDate(java.util.Date lastModifiedDate)
The date when the fleet provisioning template was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date when the fleet provisioning template was last modified.
public java.lang.Integer getDefaultVersionId()
The default fleet template version ID.
The default fleet template version ID.
public void setDefaultVersionId(java.lang.Integer defaultVersionId)
The default fleet template version ID.
defaultVersionId
- The default fleet template version ID.
public DescribeProvisioningTemplateResult withDefaultVersionId(java.lang.Integer defaultVersionId)
The default fleet template version ID.
Returns a reference to this object so that method calls can be chained together.
defaultVersionId
- The default fleet template version ID.
public java.lang.String getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
The JSON formatted contents of the fleet provisioning template.
public void setTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.
public DescribeProvisioningTemplateResult withTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
templateBody
- The JSON formatted contents of the fleet provisioning template.
public java.lang.Boolean isEnabled()
True if the fleet provisioning template is enabled, otherwise false.
True if the fleet provisioning template is enabled, otherwise false.
public java.lang.Boolean getEnabled()
True if the fleet provisioning template is enabled, otherwise false.
True if the fleet provisioning template is enabled, otherwise false.
public void setEnabled(java.lang.Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
enabled
- True if the fleet provisioning template is enabled, otherwise false.
public DescribeProvisioningTemplateResult withEnabled(java.lang.Boolean enabled)
True if the fleet provisioning template is enabled, otherwise false.
Returns a reference to this object so that method calls can be chained together.
enabled
- True if the fleet provisioning template is enabled, otherwise false.
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 DescribeProvisioningTemplateResult 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()
Gets information about a pre-provisioned hook.
Gets information about a pre-provisioned hook.
public void setPreProvisioningHook(ProvisioningHook preProvisioningHook)
Gets information about a pre-provisioned hook.
preProvisioningHook
- Gets information about a pre-provisioned hook.
public DescribeProvisioningTemplateResult withPreProvisioningHook(ProvisioningHook preProvisioningHook)
Gets information about a pre-provisioned hook.
Returns a reference to this object so that method calls can be chained together.
preProvisioningHook
- Gets information about a pre-provisioned hook.
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.