Interface ListPolicyAttachmentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<ListPolicyAttachmentsRequest.Builder,
,ListPolicyAttachmentsRequest> SdkBuilder<ListPolicyAttachmentsRequest.Builder,
,ListPolicyAttachmentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPolicyAttachmentsRequest
public static interface ListPolicyAttachmentsRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<ListPolicyAttachmentsRequest.Builder,ListPolicyAttachmentsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconsistencyLevel
(String consistencyLevel) Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.consistencyLevel
(ConsistencyLevel consistencyLevel) Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.directoryArn
(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory where objects reside.maxResults
(Integer maxResults) The maximum number of items to be retrieved in a single call.The pagination token.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyReference
(Consumer<ObjectReference.Builder> policyReference) The reference that identifies the policy object.policyReference
(ObjectReference policyReference) The reference that identifies the policy object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
directoryArn
-
policyReference
The reference that identifies the policy object.
- Parameters:
policyReference
- The reference that identifies the policy object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyReference
default ListPolicyAttachmentsRequest.Builder policyReference(Consumer<ObjectReference.Builder> policyReference) The reference that identifies the policy object.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyReference(ObjectReference)
.- Parameters:
policyReference
- a consumer that will call methods onObjectReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token.
- Parameters:
nextToken
- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to be retrieved in a single call. This is an approximate number.
- Parameters:
maxResults
- The maximum number of items to be retrieved in a single call. This is an approximate number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consistencyLevel
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
- Parameters:
consistencyLevel
- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consistencyLevel
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
- Parameters:
consistencyLevel
- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListPolicyAttachmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPolicyAttachmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-