Interface RLSContribution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RLSContribution.Builder,,RLSContribution> SdkBuilder<RLSContribution.Builder,,RLSContribution> SdkPojo
- Enclosing class:
RLSContribution
-
Method Summary
Modifier and TypeMethodDescriptiondefault RLSContribution.Buildercondition(Consumer<Condition.Builder> condition) The condition of the attachment.The condition of the attachment.issuingSource(String issuingSource) How the policy applies to the principal, for exampleExplicitly Attached.policyName(String policyName) The name of the row-level security policy.default RLSContribution.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal) The principal that the policy is attached to.principal(DataLakePrincipal principal) The principal that the policy is attached to.default RLSContribution.Builderresource(Consumer<Resource.Builder> resource) The resource that the policy is attached to.The resource that the policy is attached to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
principal
The principal that the policy is attached to.
- Parameters:
principal- The principal that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal that the policy is attached to.
This is a convenience method that creates an instance of theDataLakePrincipal.Builderavoiding the need to create one manually viaDataLakePrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(DataLakePrincipal).- Parameters:
principal- a consumer that will call methods onDataLakePrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
The resource that the policy is attached to.
- Parameters:
resource- The resource that the policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource that the policy is attached to.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyName
The name of the row-level security policy.
- Parameters:
policyName- The name of the row-level security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuingSource
How the policy applies to the principal, for example
Explicitly Attached.- Parameters:
issuingSource- How the policy applies to the principal, for exampleExplicitly Attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition of the attachment.
- Parameters:
condition- The condition of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition of the attachment.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocondition(Condition).- Parameters:
condition- a consumer that will call methods onCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-