Interface SnapshotConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotConfiguration.Builder,,SnapshotConfiguration> SdkBuilder<SnapshotConfiguration.Builder,,SnapshotConfiguration> SdkPojo
- Enclosing class:
SnapshotConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault SnapshotConfiguration.BuilderdestinationConfiguration(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 ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated.fileGroups(Consumer<SnapshotFileGroup.Builder>... fileGroups) A list ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated.fileGroups(SnapshotFileGroup... fileGroups) A list ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated.default SnapshotConfiguration.Builderparameters(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fileGroups
A list of
SnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroupconfigurations.- Parameters:
fileGroups- A list ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroupconfigurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileGroups
A list of
SnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroupconfigurations.- Parameters:
fileGroups- A list ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroupconfigurations.- 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 theSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated. This list can hold a maximum of 6FileGroupconfigurations.SnapshotFileGroup.Builderavoiding the need to create one manually viaSnapshotFileGroup.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSnapshotDestinationConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaParameters.builder().When the
Consumercompletes,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:
-