Interface SnapshotDestinationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotDestinationConfiguration.Builder,
,SnapshotDestinationConfiguration> SdkBuilder<SnapshotDestinationConfiguration.Builder,
,SnapshotDestinationConfiguration> SdkPojo
- Enclosing class:
SnapshotDestinationConfiguration
@Mutable
@NotThreadSafe
public static interface SnapshotDestinationConfiguration.Builder
extends SdkPojo, CopyableBuilder<SnapshotDestinationConfiguration.Builder,SnapshotDestinationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptions3Destinations
(Collection<SnapshotS3DestinationConfiguration> s3Destinations) A list ofSnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations.s3Destinations
(Consumer<SnapshotS3DestinationConfiguration.Builder>... s3Destinations) A list ofSnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations.s3Destinations
(SnapshotS3DestinationConfiguration... s3Destinations) A list ofSnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations.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 Details
-
s3Destinations
SnapshotDestinationConfiguration.Builder s3Destinations(Collection<SnapshotS3DestinationConfiguration> s3Destinations) A list of
SnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration
.- Parameters:
s3Destinations
- A list ofSnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destinations
SnapshotDestinationConfiguration.Builder s3Destinations(SnapshotS3DestinationConfiguration... s3Destinations) A list of
SnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration
.- Parameters:
s3Destinations
- A list ofSnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destinations
SnapshotDestinationConfiguration.Builder s3Destinations(Consumer<SnapshotS3DestinationConfiguration.Builder>... s3Destinations) A list of
This is a convenience method that creates an instance of theSnapshotS3DestinationConfiguration
objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration
.SnapshotS3DestinationConfiguration.Builder
avoiding the need to create one manually viaSnapshotS3DestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Destinations(List<SnapshotS3DestinationConfiguration>)
.- Parameters:
s3Destinations
- a consumer that will call methods onSnapshotS3DestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-