Interface ListRlsPolicyAttachmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRlsPolicyAttachmentsResponse.Builder,,ListRlsPolicyAttachmentsResponse> LakeFormationResponse.Builder,SdkBuilder<ListRlsPolicyAttachmentsResponse.Builder,,ListRlsPolicyAttachmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRlsPolicyAttachmentsResponse
@Mutable
@NotThreadSafe
public static interface ListRlsPolicyAttachmentsResponse.Builder
extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<ListRlsPolicyAttachmentsResponse.Builder,ListRlsPolicyAttachmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, if not all attachments have been returned.rlsPolicyAttachments(Collection<RLSPolicyAttachment> rlsPolicyAttachments) A list ofRLSPolicyAttachmentstructures.rlsPolicyAttachments(Consumer<RLSPolicyAttachment.Builder>... rlsPolicyAttachments) A list ofRLSPolicyAttachmentstructures.rlsPolicyAttachments(RLSPolicyAttachment... rlsPolicyAttachments) A list ofRLSPolicyAttachmentstructures.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.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
-
rlsPolicyAttachments
ListRlsPolicyAttachmentsResponse.Builder rlsPolicyAttachments(Collection<RLSPolicyAttachment> rlsPolicyAttachments) A list of
RLSPolicyAttachmentstructures.- Parameters:
rlsPolicyAttachments- A list ofRLSPolicyAttachmentstructures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rlsPolicyAttachments
ListRlsPolicyAttachmentsResponse.Builder rlsPolicyAttachments(RLSPolicyAttachment... rlsPolicyAttachments) A list of
RLSPolicyAttachmentstructures.- Parameters:
rlsPolicyAttachments- A list ofRLSPolicyAttachmentstructures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rlsPolicyAttachments
ListRlsPolicyAttachmentsResponse.Builder rlsPolicyAttachments(Consumer<RLSPolicyAttachment.Builder>... rlsPolicyAttachments) A list of
This is a convenience method that creates an instance of theRLSPolicyAttachmentstructures.RLSPolicyAttachment.Builderavoiding the need to create one manually viaRLSPolicyAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torlsPolicyAttachments(List<RLSPolicyAttachment>).- Parameters:
rlsPolicyAttachments- a consumer that will call methods onRLSPolicyAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, if not all attachments have been returned.
- Parameters:
nextToken- A continuation token, if not all attachments have been returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-