Interface CreateAccessEntryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAccessEntryResponse.Builder,,CreateAccessEntryResponse> EksResponse.Builder,SdkBuilder<CreateAccessEntryResponse.Builder,,CreateAccessEntryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAccessEntryResponse
public static interface CreateAccessEntryResponse.Builder
extends EksResponse.Builder, SdkPojo, CopyableBuilder<CreateAccessEntryResponse.Builder,CreateAccessEntryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessEntry(Consumer<AccessEntry.Builder> accessEntry) Sets the value of the AccessEntry property for this object.accessEntry(AccessEntry accessEntry) Sets the value of the AccessEntry property for this object.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accessEntry
Sets the value of the AccessEntry property for this object.- Parameters:
accessEntry- The new value for the AccessEntry property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessEntry
Sets the value of the AccessEntry property for this object. This is a convenience method that creates an instance of theAccessEntry.Builderavoiding the need to create one manually viaAccessEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessEntry(AccessEntry).- Parameters:
accessEntry- a consumer that will call methods onAccessEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-