Interface OutputLocation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<OutputLocation.Builder,OutputLocation>
,SdkBuilder<OutputLocation.Builder,OutputLocation>
,SdkPojo
- Enclosing class:
- OutputLocation
public static interface OutputLocation.Builder extends SdkPojo, CopyableBuilder<OutputLocation.Builder,OutputLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OutputLocation.Builder
s3(Consumer<S3Location.Builder> s3)
Describes an S3 location that will receive the results of the restore request.OutputLocation.Builder
s3(S3Location s3)
Describes an S3 location that will receive the results of the restore request.-
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
-
s3
OutputLocation.Builder s3(S3Location s3)
Describes an S3 location that will receive the results of the restore request.
- Parameters:
s3
- Describes an S3 location that will receive the results of the restore request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default OutputLocation.Builder s3(Consumer<S3Location.Builder> s3)
Describes an S3 location that will receive the results of the restore request.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3Location)
.- Parameters:
s3
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3(S3Location)
-
-