@Generated(value="software.amazon.awssdk:codegen") public final class AttachPolicyRequest extends CloudDirectoryRequest implements ToCopyableBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttachPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AttachPolicyRequest.Builder |
builder() |
String |
directoryArn()
The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ObjectReference |
objectReference()
The reference that identifies the object to which the policy will be attached.
|
ObjectReference |
policyReference()
The reference that is associated with the policy object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttachPolicyRequest.Builder> |
serializableBuilderClass() |
AttachPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryArn()
public final ObjectReference policyReference()
The reference that is associated with the policy object.
public final ObjectReference objectReference()
The reference that identifies the object to which the policy will be attached.
public AttachPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>toBuilder in class CloudDirectoryRequestpublic static AttachPolicyRequest.Builder builder()
public static Class<? extends AttachPolicyRequest.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 © 2022. All rights reserved.