@Generated(value="software.amazon.awssdk:codegen") public final class DescribeProvisioningTemplateResponse extends IotResponse implements ToCopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeProvisioningTemplateResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeProvisioningTemplateResponse.Builder |
builder() |
Instant |
creationDate()
The date when the provisioning template was created.
|
Integer |
defaultVersionId()
The default fleet template version ID.
|
String |
description()
The description of the provisioning template.
|
Boolean |
enabled()
True if the provisioning template is enabled, otherwise false.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The date when the provisioning template was last modified.
|
ProvisioningHook |
preProvisioningHook()
Gets information about a pre-provisioned hook.
|
String |
provisioningRoleArn()
The ARN of the role associated with the provisioning template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeProvisioningTemplateResponse.Builder> |
serializableBuilderClass() |
String |
templateArn()
The ARN of the provisioning template.
|
String |
templateBody()
The JSON formatted contents of the provisioning template.
|
String |
templateName()
The name of the provisioning template.
|
DescribeProvisioningTemplateResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TemplateType |
type()
The type you define in a provisioning template.
|
String |
typeAsString()
The type you define in a provisioning template.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String templateArn()
The ARN of the provisioning template.
public final String templateName()
The name of the provisioning template.
public final String description()
The description of the provisioning template.
public final Instant creationDate()
The date when the provisioning template was created.
public final Instant lastModifiedDate()
The date when the provisioning template was last modified.
public final Integer defaultVersionId()
The default fleet template version ID.
public final String templateBody()
The JSON formatted contents of the provisioning template.
public final Boolean enabled()
True if the provisioning template is enabled, otherwise false.
public final String provisioningRoleArn()
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
public final ProvisioningHook preProvisioningHook()
Gets information about a pre-provisioned hook.
public final 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.
If the service returns an enum value that is not available in the current SDK version, type will return
TemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FLEET_PROVISIONING. For
more information about provisioning template, see: Provisioning
template.TemplateTypepublic final String typeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, type will return
TemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FLEET_PROVISIONING. For
more information about provisioning template, see: Provisioning
template.TemplateTypepublic DescribeProvisioningTemplateResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>toBuilder in class AwsResponsepublic static DescribeProvisioningTemplateResponse.Builder builder()
public static Class<? extends DescribeProvisioningTemplateResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.