Interface CreateAclResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAclResponse.Builder,
,CreateAclResponse> MemoryDbResponse.Builder
,SdkBuilder<CreateAclResponse.Builder,
,CreateAclResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAclResponse
@Mutable
@NotThreadSafe
public static interface CreateAclResponse.Builder
extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<CreateAclResponse.Builder,CreateAclResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAclResponse.Builder
acl
(Consumer<ACL.Builder> acl) The newly-created Access Control List.The newly-created Access Control List.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbResponse.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
-
acl
The newly-created Access Control List.
- Parameters:
acl
- The newly-created Access Control List.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acl
The newly-created Access Control List.
This is a convenience method that creates an instance of theACL.Builder
avoiding the need to create one manually viaACL.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacl(ACL)
.- Parameters:
acl
- a consumer that will call methods onACL.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-