Interface SnapshotConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotConfiguration.Builder,SnapshotConfiguration>,SdkBuilder<SnapshotConfiguration.Builder,SnapshotConfiguration>,SdkPojo
- Enclosing class:
- SnapshotConfiguration
@Mutable @NotThreadSafe public static interface SnapshotConfiguration.Builder extends SdkPojo, CopyableBuilder<SnapshotConfiguration.Builder,SnapshotConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SnapshotConfiguration.BuilderdestinationConfiguration(Consumer<SnapshotDestinationConfiguration.Builder> destinationConfiguration)A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.SnapshotConfiguration.BuilderdestinationConfiguration(SnapshotDestinationConfiguration destinationConfiguration)A structure that contains information on the Amazon S3 bucket that the generated snapshot is stored in.SnapshotConfiguration.BuilderfileGroups(Collection<SnapshotFileGroup> fileGroups)A list ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated.SnapshotConfiguration.BuilderfileGroups(Consumer<SnapshotFileGroup.Builder>... fileGroups)A list ofSnapshotJobResultFileGroupobjects that contain information about the snapshot that is generated.SnapshotConfiguration.BuilderfileGroups(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.SnapshotConfiguration.Builderparameters(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fileGroups
SnapshotConfiguration.Builder fileGroups(Collection<SnapshotFileGroup> 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
SnapshotConfiguration.Builder fileGroups(SnapshotFileGroup... 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
SnapshotConfiguration.Builder fileGroups(Consumer<SnapshotFileGroup.Builder>... 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 to#fileGroups(List.) - 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:
#fileGroups(java.util.Collection)
-
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:
destinationConfiguration(SnapshotDestinationConfiguration)
-
parameters
SnapshotConfiguration.Builder parameters(Parameters 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
default SnapshotConfiguration.Builder parameters(Consumer<Parameters.Builder> 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:
parameters(Parameters)
-
-