Interface DescribeEksAnywhereSubscriptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEksAnywhereSubscriptionResponse.Builder,
,DescribeEksAnywhereSubscriptionResponse> EksResponse.Builder
,SdkBuilder<DescribeEksAnywhereSubscriptionResponse.Builder,
,DescribeEksAnywhereSubscriptionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEksAnywhereSubscriptionResponse
public static interface DescribeEksAnywhereSubscriptionResponse.Builder
extends EksResponse.Builder, SdkPojo, CopyableBuilder<DescribeEksAnywhereSubscriptionResponse.Builder,DescribeEksAnywhereSubscriptionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsubscription
(Consumer<EksAnywhereSubscription.Builder> subscription) The full description of the subscription.subscription
(EksAnywhereSubscription subscription) The full description of the subscription.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.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 Details
-
subscription
The full description of the subscription.
- Parameters:
subscription
- The full description of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscription
default DescribeEksAnywhereSubscriptionResponse.Builder subscription(Consumer<EksAnywhereSubscription.Builder> subscription) The full description of the subscription.
This is a convenience method that creates an instance of theEksAnywhereSubscription.Builder
avoiding the need to create one manually viaEksAnywhereSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscription(EksAnywhereSubscription)
.- Parameters:
subscription
- a consumer that will call methods onEksAnywhereSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-