Interface GetMappingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMappingResponse.Builder,,GetMappingResponse> GlueResponse.Builder,SdkBuilder<GetMappingResponse.Builder,,GetMappingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMappingResponse
@Mutable
@NotThreadSafe
public static interface GetMappingResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetMappingResponse.Builder,GetMappingResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmapping(Collection<MappingEntry> mapping) A list of mappings to the specified targets.mapping(Consumer<MappingEntry.Builder>... mapping) A list of mappings to the specified targets.mapping(MappingEntry... mapping) A list of mappings to the specified targets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
mapping
A list of mappings to the specified targets.
- Parameters:
mapping- A list of mappings to the specified targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapping
A list of mappings to the specified targets.
- Parameters:
mapping- A list of mappings to the specified targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapping
A list of mappings to the specified targets.
This is a convenience method that creates an instance of theMappingEntry.Builderavoiding the need to create one manually viaMappingEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomapping(List<MappingEntry>).- Parameters:
mapping- a consumer that will call methods onMappingEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-