Interface SnapshotConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotConfiguration.Builder,
,SnapshotConfiguration> SdkBuilder<SnapshotConfiguration.Builder,
,SnapshotConfiguration> SdkPojo
- Enclosing class:
SnapshotConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault SnapshotConfiguration.Builder
destinationConfiguration
(Consumer<SnapshotDestinationConfiguration.Builder> destinationConfiguration) A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.destinationConfiguration
(SnapshotDestinationConfiguration destinationConfiguration) A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.fileGroups
(Collection<SnapshotFileGroup> fileGroups) A list ofSnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated.fileGroups
(Consumer<SnapshotFileGroup.Builder>... fileGroups) A list ofSnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated.fileGroups
(SnapshotFileGroup... fileGroups) A list ofSnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated.default SnapshotConfiguration.Builder
parameters
(Consumer<Parameters.Builder> parameters) Sets the value of the Parameters property for this object.parameters
(Parameters parameters) Sets the value of the Parameters property for this object.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, sdkFields
-
Method Details
-
fileGroups
A list of
SnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroup
configurations.- Parameters:
fileGroups
- A list ofSnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroup
configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileGroups
A list of
SnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroup
configurations.- Parameters:
fileGroups
- A list ofSnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroup
configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileGroups
A list of
This is a convenience method that creates an instance of theSnapshotJobResultFileGroup
objects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroup
configurations.SnapshotFileGroup.Builder
avoiding the need to create one manually viaSnapshotFileGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileGroups(List<SnapshotFileGroup>)
.- Parameters:
fileGroups
- a consumer that will call methods onSnapshotFileGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationConfiguration
SnapshotConfiguration.Builder destinationConfiguration(SnapshotDestinationConfiguration destinationConfiguration) A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.
- Parameters:
destinationConfiguration
- A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfiguration
default SnapshotConfiguration.Builder destinationConfiguration(Consumer<SnapshotDestinationConfiguration.Builder> destinationConfiguration) A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.
This is a convenience method that creates an instance of theSnapshotDestinationConfiguration.Builder
avoiding the need to create one manually viaSnapshotDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationConfiguration(SnapshotDestinationConfiguration)
.- Parameters:
destinationConfiguration
- a consumer that will call methods onSnapshotDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
Sets the value of the Parameters property for this object.- Parameters:
parameters
- The new value for the Parameters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Sets the value of the Parameters property for this object. This is a convenience method that creates an instance of theParameters.Builder
avoiding the need to create one manually viaParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(Parameters)
.- Parameters:
parameters
- a consumer that will call methods onParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-