Interface SnapshotDestinationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotDestinationConfiguration.Builder,,SnapshotDestinationConfiguration> SdkBuilder<SnapshotDestinationConfiguration.Builder,,SnapshotDestinationConfiguration> SdkPojo
- Enclosing class:
SnapshotDestinationConfiguration
public static interface SnapshotDestinationConfiguration.Builder
extends SdkPojo, CopyableBuilder<SnapshotDestinationConfiguration.Builder,SnapshotDestinationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptions3Destinations(Collection<SnapshotS3DestinationConfiguration> s3Destinations) A list ofSnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations.s3Destinations(Consumer<SnapshotS3DestinationConfiguration.Builder>... s3Destinations) A list ofSnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations.s3Destinations(SnapshotS3DestinationConfiguration... s3Destinations) A list ofSnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations.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, sdkFields
-
Method Details
-
s3Destinations
SnapshotDestinationConfiguration.Builder s3Destinations(Collection<SnapshotS3DestinationConfiguration> s3Destinations) A list of
SnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration.- Parameters:
s3Destinations- A list ofSnapshotS3DestinationConfigurationobjects 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
SnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration.- Parameters:
s3Destinations- A list ofSnapshotS3DestinationConfigurationobjects 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 theSnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1S3DestinationConfiguration.SnapshotS3DestinationConfiguration.Builderavoiding the need to create one manually viaSnapshotS3DestinationConfiguration.builder().When the
Consumercompletes,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:
-