Interface AccessContribution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessContribution.Builder,,AccessContribution> SdkBuilder<AccessContribution.Builder,,AccessContribution> SdkPojo
- Enclosing class:
AccessContribution
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<Permission> actions) The permissions that contributed to the principal's access.actions(Permission... actions) The permissions that contributed to the principal's access.actionsWithStrings(String... actions) The permissions that contributed to the principal's access.actionsWithStrings(Collection<String> actions) The permissions that contributed to the principal's access.default AccessContribution.Buildercondition(Consumer<Condition.Builder> condition) The condition of the permission.The condition of the permission.issuingSource(String issuingSource) How the permission applies to the principal, for exampleExplicitly GrantedorData Lake Administrator.default AccessContribution.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal) The principal that the permission was granted to.principal(DataLakePrincipal principal) The principal that the permission was granted to.default AccessContribution.Builderresource(Consumer<Resource.Builder> resource) The resource that the permission was granted on.The resource that the permission was granted on.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 permission was granted to.
- Parameters:
principal- The principal that the permission was granted to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal that the permission was granted 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 permission was granted on.
- Parameters:
resource- The resource that the permission was granted on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource that the permission was granted on.
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:
-
actionsWithStrings
The permissions that contributed to the principal's access.
- Parameters:
actions- The permissions that contributed to the principal's access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsWithStrings
The permissions that contributed to the principal's access.
- Parameters:
actions- The permissions that contributed to the principal's access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The permissions that contributed to the principal's access.
- Parameters:
actions- The permissions that contributed to the principal's access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The permissions that contributed to the principal's access.
- Parameters:
actions- The permissions that contributed to the principal's access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuingSource
How the permission applies to the principal, for example
Explicitly GrantedorData Lake Administrator.- Parameters:
issuingSource- How the permission applies to the principal, for exampleExplicitly GrantedorData Lake Administrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition of the permission.
- Parameters:
condition- The condition of the permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition of the permission.
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:
-