@Generated(value="software.amazon.awssdk:codegen") public final class AssociateDrtRoleRequest extends ShieldRequest implements ToCopyableBuilder<AssociateDrtRoleRequest.Builder,AssociateDrtRoleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociateDrtRoleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssociateDrtRoleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
The Amazon Resource Name (ARN) of the role the DRT will use to access your AWS account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateDrtRoleRequest.Builder> |
serializableBuilderClass() |
AssociateDrtRoleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleArn()
The Amazon Resource Name (ARN) of the role the DRT will use to access your AWS account.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and
Detaching IAM Policies.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.
public AssociateDrtRoleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociateDrtRoleRequest.Builder,AssociateDrtRoleRequest>toBuilder in class ShieldRequestpublic static AssociateDrtRoleRequest.Builder builder()
public static Class<? extends AssociateDrtRoleRequest.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 © 2021. All rights reserved.