Class DescribeProvisioningTemplateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.iot.model.IotResponse
-
- software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeProvisioningTemplateResponse extends IotResponse implements ToCopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeProvisioningTemplateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeProvisioningTemplateResponse.Builderbuilder()InstantcreationDate()The date when the provisioning template was created.IntegerdefaultVersionId()The default fleet template version ID.Stringdescription()The description of the provisioning template.Booleanenabled()True if the provisioning template is enabled, otherwise false.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The date when the provisioning template was last modified.ProvisioningHookpreProvisioningHook()Gets information about a pre-provisioned hook.StringprovisioningRoleArn()The ARN of the role associated with the provisioning template.List<SdkField<?>>sdkFields()static Class<? extends DescribeProvisioningTemplateResponse.Builder>serializableBuilderClass()StringtemplateArn()The ARN of the provisioning template.StringtemplateBody()The JSON formatted contents of the provisioning template.StringtemplateName()The name of the provisioning template.DescribeProvisioningTemplateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.TemplateTypetype()The type you define in a provisioning template.StringtypeAsString()The type you define in a provisioning template.-
Methods inherited from class software.amazon.awssdk.services.iot.model.IotResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
templateArn
public final String templateArn()
The ARN of the provisioning template.
- Returns:
- The ARN of the provisioning template.
-
templateName
public final String templateName()
The name of the provisioning template.
- Returns:
- The name of the provisioning template.
-
description
public final String description()
The description of the provisioning template.
- Returns:
- The description of the provisioning template.
-
creationDate
public final Instant creationDate()
The date when the provisioning template was created.
- Returns:
- The date when the provisioning template was created.
-
lastModifiedDate
public final Instant lastModifiedDate()
The date when the provisioning template was last modified.
- Returns:
- The date when the provisioning template was last modified.
-
defaultVersionId
public final Integer defaultVersionId()
The default fleet template version ID.
- Returns:
- The default fleet template version ID.
-
templateBody
public final String templateBody()
The JSON formatted contents of the provisioning template.
- Returns:
- The JSON formatted contents of the provisioning template.
-
enabled
public final Boolean enabled()
True if the provisioning template is enabled, otherwise false.
- Returns:
- True if the provisioning template is enabled, otherwise false.
-
provisioningRoleArn
public final String provisioningRoleArn()
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
- Returns:
- The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
-
preProvisioningHook
public final ProvisioningHook preProvisioningHook()
Gets information about a pre-provisioned hook.
- Returns:
- Gets information about a pre-provisioned hook.
-
type
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,
typewill returnTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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. - See Also:
TemplateType
-
typeAsString
public 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,
typewill returnTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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. - See Also:
TemplateType
-
toBuilder
public DescribeProvisioningTemplateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeProvisioningTemplateResponse.Builder,DescribeProvisioningTemplateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeProvisioningTemplateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeProvisioningTemplateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-