Interface GetPartitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPartitionResponse.Builder,
,GetPartitionResponse> GlueResponse.Builder
,SdkBuilder<GetPartitionResponse.Builder,
,GetPartitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPartitionResponse
@Mutable
@NotThreadSafe
public static interface GetPartitionResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetPartitionResponse.Builder,GetPartitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPartitionResponse.Builder
partition
(Consumer<Partition.Builder> partition) The requested information, in the form of aPartition
object.The requested information, in the form of aPartition
object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
partition
The requested information, in the form of a
Partition
object.- Parameters:
partition
- The requested information, in the form of aPartition
object.- 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 thePartition
object.Partition.Builder
avoiding the need to create one manually viaPartition.builder()
.When the
Consumer
completes,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:
-