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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotDestinationConfiguration.Builders3Destinations(Collection<SnapshotS3DestinationConfiguration> s3Destinations)A list ofSnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations.SnapshotDestinationConfiguration.Builders3Destinations(Consumer<SnapshotS3DestinationConfiguration.Builder>... s3Destinations)A list ofSnapshotS3DestinationConfigurationobjects that contain Amazon S3 destination configurations.SnapshotDestinationConfiguration.Builders3Destinations(SnapshotS3DestinationConfiguration... s3Destinations)A list ofSnapshotS3DestinationConfigurationobjects 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 Detail
-
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 to#s3Destinations(List.) - 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:
#s3Destinations(java.util.Collection)
-
-