Interface ListObjectPoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<ListObjectPoliciesRequest.Builder,
,ListObjectPoliciesRequest> SdkBuilder<ListObjectPoliciesRequest.Builder,
,ListObjectPoliciesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListObjectPoliciesRequest
public static interface ListObjectPoliciesRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<ListObjectPoliciesRequest.Builder,ListObjectPoliciesRequest>
-
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.objectReference
(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object for which policies will be listed.objectReference
(ObjectReference objectReference) Reference that identifies the object for which policies will be listed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
objectReference
Reference that identifies the object for which policies will be listed.
- Parameters:
objectReference
- Reference that identifies the object for which policies will be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default ListObjectPoliciesRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object for which policies will be listed.
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 toobjectReference(ObjectReference)
.- Parameters:
objectReference
- 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
ListObjectPoliciesRequest.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
ListObjectPoliciesRequest.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.
-