Interface AccessDecision.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessDecision.Builder,,AccessDecision> SdkBuilder<AccessDecision.Builder,,AccessDecision> SdkPojo
- Enclosing class:
AccessDecision
-
Method Summary
Modifier and TypeMethodDescriptionauthorizedActions(Collection<Permission> authorizedActions) The actions the principal is authorized to perform on the resource.authorizedActions(Permission... authorizedActions) The actions the principal is authorized to perform on the resource.authorizedActionsWithStrings(String... authorizedActions) The actions the principal is authorized to perform on the resource.authorizedActionsWithStrings(Collection<String> authorizedActions) The actions the principal is authorized to perform on the resource.contributingGrants(Collection<AccessContribution> contributingGrants) The permissions that contributed to the principal's access.contributingGrants(Consumer<AccessContribution.Builder>... contributingGrants) The permissions that contributed to the principal's access.contributingGrants(AccessContribution... contributingGrants) The permissions that contributed to the principal's access.contributingRLSPolicies(Collection<RLSContribution> contributingRLSPolicies) The row-level security policies that filter the principal's rows.contributingRLSPolicies(Consumer<RLSContribution.Builder>... contributingRLSPolicies) The row-level security policies that filter the principal's rows.contributingRLSPolicies(RLSContribution... contributingRLSPolicies) The row-level security policies that filter the principal's rows.default AccessDecision.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal) The principal.principal(DataLakePrincipal principal) The principal.default AccessDecision.BuilderselectActionDetails(Consumer<SelectActionDetails.Builder> selectActionDetails) Details about the principal'sSELECTaccess on the table.selectActionDetails(SelectActionDetails selectActionDetails) Details about the principal'sSELECTaccess on the table.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.
- Parameters:
principal- The principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal.
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:
-
authorizedActionsWithStrings
The actions the principal is authorized to perform on the resource.
- Parameters:
authorizedActions- The actions the principal is authorized to perform on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedActionsWithStrings
The actions the principal is authorized to perform on the resource.
- Parameters:
authorizedActions- The actions the principal is authorized to perform on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedActions
The actions the principal is authorized to perform on the resource.
- Parameters:
authorizedActions- The actions the principal is authorized to perform on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedActions
The actions the principal is authorized to perform on the resource.
- Parameters:
authorizedActions- The actions the principal is authorized to perform on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectActionDetails
Details about the principal's
SELECTaccess on the table.- Parameters:
selectActionDetails- Details about the principal'sSELECTaccess on the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectActionDetails
default AccessDecision.Builder selectActionDetails(Consumer<SelectActionDetails.Builder> selectActionDetails) Details about the principal's
This is a convenience method that creates an instance of theSELECTaccess on the table.SelectActionDetails.Builderavoiding the need to create one manually viaSelectActionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectActionDetails(SelectActionDetails).- Parameters:
selectActionDetails- a consumer that will call methods onSelectActionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contributingGrants
The permissions that contributed to the principal's access.
- Parameters:
contributingGrants- The permissions that contributed to the principal's access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributingGrants
The permissions that contributed to the principal's access.
- Parameters:
contributingGrants- The permissions that contributed to the principal's access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributingGrants
AccessDecision.Builder contributingGrants(Consumer<AccessContribution.Builder>... contributingGrants) The permissions that contributed to the principal's access.
This is a convenience method that creates an instance of theAccessContribution.Builderavoiding the need to create one manually viaAccessContribution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontributingGrants(List<AccessContribution>).- Parameters:
contributingGrants- a consumer that will call methods onAccessContribution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contributingRLSPolicies
The row-level security policies that filter the principal's rows.
- Parameters:
contributingRLSPolicies- The row-level security policies that filter the principal's rows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributingRLSPolicies
The row-level security policies that filter the principal's rows.
- Parameters:
contributingRLSPolicies- The row-level security policies that filter the principal's rows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributingRLSPolicies
AccessDecision.Builder contributingRLSPolicies(Consumer<RLSContribution.Builder>... contributingRLSPolicies) The row-level security policies that filter the principal's rows.
This is a convenience method that creates an instance of theRLSContribution.Builderavoiding the need to create one manually viaRLSContribution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontributingRLSPolicies(List<RLSContribution>).- Parameters:
contributingRLSPolicies- a consumer that will call methods onRLSContribution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-