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, eitherReadWriteorReadOnly.sessionMode(SessionMode sessionMode) Specifies the mode of the session that will be created, eitherReadWriteorReadOnly.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sessionMode
Specifies the mode of the session that will be created, either
ReadWriteorReadOnly. By default, aReadWritesession is created. AReadWritesession is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnlysession 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, eitherReadWriteorReadOnly. By default, aReadWritesession is created. AReadWritesession is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnlysession 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
ReadWriteorReadOnly. By default, aReadWritesession is created. AReadWritesession is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnlysession 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, eitherReadWriteorReadOnly. By default, aReadWritesession is created. AReadWritesession is capable of executing all the Zonal endpoint APIs on a directory bucket. AReadOnlysession 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-