public static interface AttachPolicyRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
AttachPolicyRequest.Builder |
directoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.
|
default AttachPolicyRequest.Builder |
objectReference(Consumer<ObjectReference.Builder> objectReference)
The reference that identifies the object to which the policy will be attached.
|
AttachPolicyRequest.Builder |
objectReference(ObjectReference objectReference)
The reference that identifies the object to which the policy will be attached.
|
AttachPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AttachPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default AttachPolicyRequest.Builder |
policyReference(Consumer<ObjectReference.Builder> policyReference)
The reference that is associated with the policy object.
|
AttachPolicyRequest.Builder |
policyReference(ObjectReference policyReference)
The reference that is associated with the policy object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAttachPolicyRequest.Builder directoryArn(String directoryArn)
AttachPolicyRequest.Builder policyReference(ObjectReference policyReference)
The reference that is associated with the policy object.
policyReference - The reference that is associated with the policy object.default AttachPolicyRequest.Builder policyReference(Consumer<ObjectReference.Builder> policyReference)
The reference that is associated with the policy object.
This is a convenience method that creates an instance of theObjectReference.Builder avoiding the
need to create one manually via ObjectReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policyReference(ObjectReference).
policyReference - a consumer that will call methods on ObjectReference.BuilderpolicyReference(ObjectReference)AttachPolicyRequest.Builder objectReference(ObjectReference objectReference)
The reference that identifies the object to which the policy will be attached.
objectReference - The reference that identifies the object to which the policy will be attached.default AttachPolicyRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference)
The reference that identifies the object to which the policy will be attached.
This is a convenience method that creates an instance of theObjectReference.Builder avoiding the
need to create one manually via ObjectReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to objectReference(ObjectReference).
objectReference - a consumer that will call methods on ObjectReference.BuilderobjectReference(ObjectReference)AttachPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAttachPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.