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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RetrievalResultLocation.Builders3Location(Consumer<RetrievalResultS3Location.Builder> s3Location)Contains the S3 location of the data source.RetrievalResultLocation.Builders3Location(RetrievalResultS3Location s3Location)Contains the S3 location of the data source.RetrievalResultLocation.Buildertype(String type)The type of the location of the data source.RetrievalResultLocation.Buildertype(RetrievalResultLocationType type)The type of the location of the data source.-
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 Detail
-
s3Location
RetrievalResultLocation.Builder s3Location(RetrievalResultS3Location 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:
s3Location(RetrievalResultS3Location)
-
type
RetrievalResultLocation.Builder type(String 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:
RetrievalResultLocationType,RetrievalResultLocationType
-
type
RetrievalResultLocation.Builder type(RetrievalResultLocationType 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:
RetrievalResultLocationType,RetrievalResultLocationType
-
-