public static interface GetPartitionResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetPartitionResponse.Builder,GetPartitionResponse>
Modifier and Type | Method and Description |
---|---|
default GetPartitionResponse.Builder |
partition(Consumer<Partition.Builder> partition)
The requested information, in the form of a
Partition object. |
GetPartitionResponse.Builder |
partition(Partition partition)
The requested information, in the form of a
Partition object. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetPartitionResponse.Builder partition(Partition partition)
The requested information, in the form of a Partition
object.
partition
- The requested information, in the form of a Partition
object.default GetPartitionResponse.Builder partition(Consumer<Partition.Builder> partition)
The requested information, in the form of a Partition
object.
Partition.Builder
avoiding the need to create
one manually via Partition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to partition(Partition)
.partition
- a consumer that will call methods on Partition.Builder
partition(Partition)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.