Interface DestinationSettings.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DestinationSettings.Builder,DestinationSettings>
,SdkBuilder<DestinationSettings.Builder,DestinationSettings>
,SdkPojo
- Enclosing class:
- DestinationSettings
public static interface DestinationSettings.Builder extends SdkPojo, CopyableBuilder<DestinationSettings.Builder,DestinationSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DestinationSettings.Builder
s3Settings(Consumer<S3DestinationSettings.Builder> s3Settings)
Settings associated with S3 destination This is a convenience method that creates an instance of theS3DestinationSettings.Builder
avoiding the need to create one manually viaS3DestinationSettings.builder()
.DestinationSettings.Builder
s3Settings(S3DestinationSettings s3Settings)
Settings associated with S3 destination-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
s3Settings
DestinationSettings.Builder s3Settings(S3DestinationSettings s3Settings)
Settings associated with S3 destination- Parameters:
s3Settings
- Settings associated with S3 destination- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Settings
default DestinationSettings.Builder s3Settings(Consumer<S3DestinationSettings.Builder> s3Settings)
Settings associated with S3 destination This is a convenience method that creates an instance of theS3DestinationSettings.Builder
avoiding the need to create one manually viaS3DestinationSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Settings(S3DestinationSettings)
.- Parameters:
s3Settings
- a consumer that will call methods onS3DestinationSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Settings(S3DestinationSettings)
-
-