Interface LogConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogConfiguration.Builder,,LogConfiguration> SdkBuilder<LogConfiguration.Builder,,LogConfiguration> SdkPojo
- Enclosing class:
LogConfiguration
@Mutable
@NotThreadSafe
public static interface LogConfiguration.Builder
extends SdkPojo, CopyableBuilder<LogConfiguration.Builder,LogConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogConfiguration.BuilderThe configuration for delivering the logs to S3.s3(S3LogConfiguration s3) The configuration for delivering the logs to S3.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3
The configuration for delivering the logs to S3.
- Parameters:
s3- The configuration for delivering the logs to S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The configuration for delivering the logs to S3.
This is a convenience method that creates an instance of theS3LogConfiguration.Builderavoiding the need to create one manually viaS3LogConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3LogConfiguration).- Parameters:
s3- a consumer that will call methods onS3LogConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-