Interface CreateSessionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSessionRequest.Builder,CreateSessionRequest>
,S3Request.Builder
,SdkBuilder<CreateSessionRequest.Builder,CreateSessionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateSessionRequest
public static interface CreateSessionRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<CreateSessionRequest.Builder,CreateSessionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSessionRequest.Builder
bucket(String bucket)
The name of the bucket that you create a session for.CreateSessionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateSessionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateSessionRequest.Builder
sessionMode(String sessionMode)
Specifies the mode of the session that will be created, eitherReadWrite
orReadOnly
.CreateSessionRequest.Builder
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 Detail
-
sessionMode
CreateSessionRequest.Builder sessionMode(String 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
,SessionMode
-
sessionMode
CreateSessionRequest.Builder sessionMode(SessionMode 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
,SessionMode
-
bucket
CreateSessionRequest.Builder bucket(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-