Interface CreatePodIdentityAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePodIdentityAssociationResponse.Builder,
,CreatePodIdentityAssociationResponse> EksResponse.Builder
,SdkBuilder<CreatePodIdentityAssociationResponse.Builder,
,CreatePodIdentityAssociationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePodIdentityAssociationResponse
@Mutable
@NotThreadSafe
public static interface CreatePodIdentityAssociationResponse.Builder
extends EksResponse.Builder, SdkPojo, CopyableBuilder<CreatePodIdentityAssociationResponse.Builder,CreatePodIdentityAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociation
(Consumer<PodIdentityAssociation.Builder> association) The full description of your new association.association
(PodIdentityAssociation association) The full description of your new association.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
association
The full description of your new association.
The description includes an ID for the association. Use the ID of the association in further actions to manage the association.
- Parameters:
association
- The full description of your new association.The description includes an ID for the association. Use the ID of the association in further actions to manage the association.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default CreatePodIdentityAssociationResponse.Builder association(Consumer<PodIdentityAssociation.Builder> association) The full description of your new association.
The description includes an ID for the association. Use the ID of the association in further actions to manage the association.
This is a convenience method that creates an instance of thePodIdentityAssociation.Builder
avoiding the need to create one manually viaPodIdentityAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociation(PodIdentityAssociation)
.- Parameters:
association
- a consumer that will call methods onPodIdentityAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-