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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListPolicyAttachmentsRequest.BuilderconsistencyLevel(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.ListPolicyAttachmentsRequest.BuilderconsistencyLevel(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.ListPolicyAttachmentsRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory where objects reside.ListPolicyAttachmentsRequest.BuildermaxResults(Integer maxResults)The maximum number of items to be retrieved in a single call.ListPolicyAttachmentsRequest.BuildernextToken(String nextToken)The pagination token.ListPolicyAttachmentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPolicyAttachmentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListPolicyAttachmentsRequest.BuilderpolicyReference(Consumer<ObjectReference.Builder> policyReference)The reference that identifies the policy object.ListPolicyAttachmentsRequest.BuilderpolicyReference(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 Detail
-
directoryArn
ListPolicyAttachmentsRequest.Builder directoryArn(String directoryArn)
-
policyReference
ListPolicyAttachmentsRequest.Builder policyReference(ObjectReference 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
policyReference(ObjectReference)
-
nextToken
ListPolicyAttachmentsRequest.Builder nextToken(String 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
ListPolicyAttachmentsRequest.Builder maxResults(Integer 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
ListPolicyAttachmentsRequest.Builder consistencyLevel(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.
- 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,ConsistencyLevel
-
consistencyLevel
ListPolicyAttachmentsRequest.Builder 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.
- 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,ConsistencyLevel
-
overrideConfiguration
ListPolicyAttachmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPolicyAttachmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-