Interface GetTableBucketLoggingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTableBucketLoggingResponse.Builder,,GetTableBucketLoggingResponse> S3TablesResponse.Builder,SdkBuilder<GetTableBucketLoggingResponse.Builder,,GetTableBucketLoggingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTableBucketLoggingResponse
@Mutable
@NotThreadSafe
public static interface GetTableBucketLoggingResponse.Builder
extends S3TablesResponse.Builder, SdkPojo, CopyableBuilder<GetTableBucketLoggingResponse.Builder,GetTableBucketLoggingResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontableBucketLoggingStatus(Consumer<TableBucketLoggingStatus.Builder> tableBucketLoggingStatus) The logging status of the table bucket.tableBucketLoggingStatus(TableBucketLoggingStatus tableBucketLoggingStatus) The logging status of the table bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3tables.model.S3TablesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
tableBucketLoggingStatus
GetTableBucketLoggingResponse.Builder tableBucketLoggingStatus(TableBucketLoggingStatus tableBucketLoggingStatus) The logging status of the table bucket. If logging is disabled,
loggingEnabledis absent.- Parameters:
tableBucketLoggingStatus- The logging status of the table bucket. If logging is disabled,loggingEnabledis absent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableBucketLoggingStatus
default GetTableBucketLoggingResponse.Builder tableBucketLoggingStatus(Consumer<TableBucketLoggingStatus.Builder> tableBucketLoggingStatus) The logging status of the table bucket. If logging is disabled,
This is a convenience method that creates an instance of theloggingEnabledis absent.TableBucketLoggingStatus.Builderavoiding the need to create one manually viaTableBucketLoggingStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totableBucketLoggingStatus(TableBucketLoggingStatus).- Parameters:
tableBucketLoggingStatus- a consumer that will call methods onTableBucketLoggingStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-