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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetPartitionResponse.Builderpartition(Consumer<Partition.Builder> partition)The requested information, in the form of aPartitionobject.GetPartitionResponse.Builderpartition(Partition partition)The requested information, in the form of aPartitionobject.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
partition
GetPartitionResponse.Builder partition(Partition 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
default GetPartitionResponse.Builder partition(Consumer<Partition.Builder> 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:
partition(Partition)
-
-