Interface CreateCapabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCapabilityResponse.Builder,,CreateCapabilityResponse> EksResponse.Builder,SdkBuilder<CreateCapabilityResponse.Builder,,CreateCapabilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateCapabilityResponse
@Mutable
@NotThreadSafe
public static interface CreateCapabilityResponse.Builder
extends EksResponse.Builder, SdkPojo, CopyableBuilder<CreateCapabilityResponse.Builder,CreateCapabilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateCapabilityResponse.Buildercapability(Consumer<Capability.Builder> capability) An object containing information about the newly created capability, including its name, ARN, status, and configuration.capability(Capability capability) An object containing information about the newly created capability, including its name, ARN, status, and configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capability
An object containing information about the newly created capability, including its name, ARN, status, and configuration.
- Parameters:
capability- An object containing information about the newly created capability, including its name, ARN, status, and configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capability
An object containing information about the newly created capability, including its name, ARN, status, and configuration.
This is a convenience method that creates an instance of theCapability.Builderavoiding the need to create one manually viaCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapability(Capability).- Parameters:
capability- a consumer that will call methods onCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-