Interface GetPartitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPartitionResponse.Builder,,GetPartitionResponse> GlueResponse.Builder,SdkBuilder<GetPartitionResponse.Builder,,GetPartitionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPartitionResponse
public static interface GetPartitionResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetPartitionResponse.Builder,GetPartitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPartitionResponse.Builderpartition(Consumer<Partition.Builder> partition) The requested information, in the form of aPartitionobject.The requested information, in the form of aPartitionobject.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
partition
The requested information, in the form of a
Partitionobject.- Parameters:
partition- The requested information, in the form of aPartitionobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partition
The requested information, in the form of a
This is a convenience method that creates an instance of thePartitionobject.Partition.Builderavoiding the need to create one manually viaPartition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartition(Partition).- Parameters:
partition- a consumer that will call methods onPartition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-