Interface PutAccessPointScopeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutAccessPointScopeRequest.Builder,
,PutAccessPointScopeRequest> S3ControlRequest.Builder
,SdkBuilder<PutAccessPointScopeRequest.Builder,
,PutAccessPointScopeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutAccessPointScopeRequest
@Mutable
@NotThreadSafe
public static interface PutAccessPointScopeRequest.Builder
extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<PutAccessPointScopeRequest.Builder,PutAccessPointScopeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID that owns the access point with scope that you want to create or replace.The name of the access point with the scope that you want to create or replace.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scope
(Consumer<Scope.Builder> scope) Object prefixes, API operations, or a combination of both.Object prefixes, API operations, or a combination of both.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID that owns the access point with scope that you want to create or replace.
- Parameters:
accountId
- The Amazon Web Services account ID that owns the access point with scope that you want to create or replace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the access point with the scope that you want to create or replace.
- Parameters:
name
- The name of the access point with the scope that you want to create or replace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Object prefixes, API operations, or a combination of both.
- Parameters:
scope
- Object prefixes, API operations, or a combination of both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Object prefixes, API operations, or a combination of both.
This is a convenience method that creates an instance of theScope.Builder
avoiding the need to create one manually viaScope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscope(Scope)
.- Parameters:
scope
- a consumer that will call methods onScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutAccessPointScopeRequest.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
PutAccessPointScopeRequest.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.
-