Interface GetRlsPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRlsPolicyResponse.Builder,,GetRlsPolicyResponse> LakeFormationResponse.Builder,SdkBuilder<GetRlsPolicyResponse.Builder,,GetRlsPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRlsPolicyResponse
@Mutable
@NotThreadSafe
public static interface GetRlsPolicyResponse.Builder
extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<GetRlsPolicyResponse.Builder,GetRlsPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRlsPolicyResponse.BuilderrlsPolicy(Consumer<RLSPolicy.Builder> rlsPolicy) AnRLSPolicystructure containing the definition of the requested row-level security policy.AnRLSPolicystructure containing the definition of the requested row-level security policy.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
-
rlsPolicy
An
RLSPolicystructure containing the definition of the requested row-level security policy.- Parameters:
rlsPolicy- AnRLSPolicystructure containing the definition of the requested row-level security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rlsPolicy
An
This is a convenience method that creates an instance of theRLSPolicystructure containing the definition of the requested row-level security policy.RLSPolicy.Builderavoiding the need to create one manually viaRLSPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torlsPolicy(RLSPolicy).- Parameters:
rlsPolicy- a consumer that will call methods onRLSPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-