Interface RetrievalResultLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RetrievalResultLocation.Builder,,RetrievalResultLocation> SdkBuilder<RetrievalResultLocation.Builder,,RetrievalResultLocation> SdkPojo
- Enclosing class:
RetrievalResultLocation
public static interface RetrievalResultLocation.Builder
extends SdkPojo, CopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RetrievalResultLocation.Builders3Location(Consumer<RetrievalResultS3Location.Builder> s3Location) Contains the S3 location of the data source.s3Location(RetrievalResultS3Location s3Location) Contains the S3 location of the data source.The type of the location of the data source.The type of the location of the data source.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
-
s3Location
Contains the S3 location of the data source.
- Parameters:
s3Location- Contains the S3 location of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default RetrievalResultLocation.Builder s3Location(Consumer<RetrievalResultS3Location.Builder> s3Location) Contains the S3 location of the data source.
This is a convenience method that creates an instance of theRetrievalResultS3Location.Builderavoiding the need to create one manually viaRetrievalResultS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(RetrievalResultS3Location).- Parameters:
s3Location- a consumer that will call methods onRetrievalResultS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the location of the data source.
- Parameters:
type- The type of the location of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the location of the data source.
- Parameters:
type- The type of the location of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-