Interface CreateSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSessionRequest.Builder,
,CreateSessionRequest> S3Request.Builder
,SdkBuilder<CreateSessionRequest.Builder,
,CreateSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSessionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bucket that you create a session for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionMode
(String sessionMode) Specifies the mode of the session that will be created, eitherReadWrite
orReadOnly
.sessionMode
(SessionMode sessionMode) Specifies the mode of the session that will be created, eitherReadWrite
orReadOnly
.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.s3.model.S3Request.Builder
build
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
-
sessionMode
Specifies the mode of the session that will be created, either
ReadWrite
orReadOnly
. By default, aReadWrite
session is created. AReadWrite
session is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnly
session is constrained to execute the following Zonal endpoint APIs:GetObject
,HeadObject
,ListObjectsV2
,GetObjectAttributes
,ListParts
, andListMultipartUploads
.- Parameters:
sessionMode
- Specifies the mode of the session that will be created, eitherReadWrite
orReadOnly
. By default, aReadWrite
session is created. AReadWrite
session is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnly
session is constrained to execute the following Zonal endpoint APIs:GetObject
,HeadObject
,ListObjectsV2
,GetObjectAttributes
,ListParts
, andListMultipartUploads
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionMode
Specifies the mode of the session that will be created, either
ReadWrite
orReadOnly
. By default, aReadWrite
session is created. AReadWrite
session is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnly
session is constrained to execute the following Zonal endpoint APIs:GetObject
,HeadObject
,ListObjectsV2
,GetObjectAttributes
,ListParts
, andListMultipartUploads
.- Parameters:
sessionMode
- Specifies the mode of the session that will be created, eitherReadWrite
orReadOnly
. By default, aReadWrite
session is created. AReadWrite
session is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnly
session is constrained to execute the following Zonal endpoint APIs:GetObject
,HeadObject
,ListObjectsV2
,GetObjectAttributes
,ListParts
, andListMultipartUploads
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bucket
The name of the bucket that you create a session for.
- Parameters:
bucket
- The name of the bucket that you create a session for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSessionRequest.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
CreateSessionRequest.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.
-