@Generated(value="software.amazon.awssdk:codegen") public final class AssociateResourceSharePermissionRequest extends RamRequest implements ToCopyableBuilder<AssociateResourceSharePermissionRequest.Builder,AssociateResourceSharePermissionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociateResourceSharePermissionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssociateResourceSharePermissionRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
permissionArn()
The ARN of the AWS RAM permission to associate with the resource share.
|
Boolean |
replace()
Indicates whether the permission should replace the permissions that are currently associated with the resource
share.
|
String |
resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateResourceSharePermissionRequest.Builder> |
serializableBuilderClass() |
AssociateResourceSharePermissionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public final String permissionArn()
The ARN of the AWS RAM permission to associate with the resource share.
public final Boolean replace()
Indicates whether the permission should replace the permissions that are currently associated with the resource
share. Use true to replace the current permissions. Use false to add the permission to
the current permission.
true to replace the current permissions. Use false to add
the permission to the current permission.public final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public AssociateResourceSharePermissionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociateResourceSharePermissionRequest.Builder,AssociateResourceSharePermissionRequest>toBuilder in class RamRequestpublic static AssociateResourceSharePermissionRequest.Builder builder()
public static Class<? extends AssociateResourceSharePermissionRequest.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.