@Generated(value="software.amazon.awssdk:codegen") public final class DetachThingPrincipalRequest extends IotRequest implements ToCopyableBuilder<DetachThingPrincipalRequest.Builder,DetachThingPrincipalRequest>
The input for the DetachThingPrincipal operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetachThingPrincipalRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetachThingPrincipalRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principal()
If the principal is a certificate, this value must be ARN of the certificate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetachThingPrincipalRequest.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing.
|
DetachThingPrincipalRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String thingName()
The name of the thing.
public final String principal()
If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity.
public DetachThingPrincipalRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetachThingPrincipalRequest.Builder,DetachThingPrincipalRequest>toBuilder in class IotRequestpublic static DetachThingPrincipalRequest.Builder builder()
public static Class<? extends DetachThingPrincipalRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.