Class UpdateProvisioningTemplateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.UpdateProvisioningTemplateRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateProvisioningTemplateRequest.Builder,UpdateProvisioningTemplateRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateProvisioningTemplateRequest extends IotRequest implements ToCopyableBuilder<UpdateProvisioningTemplateRequest.Builder,UpdateProvisioningTemplateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateProvisioningTemplateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateProvisioningTemplateRequest.Builder
builder()
Integer
defaultVersionId()
The ID of the default provisioning template version.String
description()
The description of the provisioning template.Boolean
enabled()
True to enable the provisioning template, otherwise false.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ProvisioningHook
preProvisioningHook()
Updates the pre-provisioning hook template.String
provisioningRoleArn()
The ARN of the role associated with the provisioning template.Boolean
removePreProvisioningHook()
Removes pre-provisioning hook template.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateProvisioningTemplateRequest.Builder>
serializableBuilderClass()
String
templateName()
The name of the provisioning template.UpdateProvisioningTemplateRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
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.
-
enabled
public final Boolean enabled()
True to enable the provisioning template, otherwise false.
- Returns:
- True to enable the provisioning template, otherwise false.
-
defaultVersionId
public final Integer defaultVersionId()
The ID of the default provisioning template version.
- Returns:
- The ID of the default provisioning template version.
-
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()
Updates the pre-provisioning hook template. Only supports template of type
FLEET_PROVISIONING
. For more information about provisioning template types, see type.- Returns:
- Updates the pre-provisioning hook template. Only supports template of type
FLEET_PROVISIONING
. For more information about provisioning template types, see type.
-
removePreProvisioningHook
public final Boolean removePreProvisioningHook()
Removes pre-provisioning hook template.
- Returns:
- Removes pre-provisioning hook template.
-
toBuilder
public UpdateProvisioningTemplateRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateProvisioningTemplateRequest.Builder,UpdateProvisioningTemplateRequest>
- Specified by:
toBuilder
in classIotRequest
-
builder
public static UpdateProvisioningTemplateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateProvisioningTemplateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-