Interface PrincipalResourcePermissions.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PrincipalResourcePermissions.Builder,,- PrincipalResourcePermissions> - SdkBuilder<PrincipalResourcePermissions.Builder,,- PrincipalResourcePermissions> - SdkPojo
- Enclosing class:
- PrincipalResourcePermissions
- 
Method SummaryModifier and TypeMethodDescriptionadditionalDetails(Consumer<DetailsMap.Builder> additionalDetails) This attribute can be used to return any additional details ofPrincipalResourcePermissions.additionalDetails(DetailsMap additionalDetails) This attribute can be used to return any additional details ofPrincipalResourcePermissions.condition(Consumer<Condition.Builder> condition) A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.lastUpdated(Instant lastUpdated) The date and time when the resource was last updated.lastUpdatedBy(String lastUpdatedBy) The user who updated the record.permissions(Collection<Permission> permissions) The permissions to be granted or revoked on the resource.permissions(Permission... permissions) The permissions to be granted or revoked on the resource.permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).permissionsWithGrantOption(Permission... permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).permissionsWithStrings(String... permissions) The permissions to be granted or revoked on the resource.permissionsWithStrings(Collection<String> permissions) The permissions to be granted or revoked on the resource.principal(Consumer<DataLakePrincipal.Builder> principal) The Data Lake principal to be granted or revoked permissions.principal(DataLakePrincipal principal) The Data Lake principal to be granted or revoked permissions.resource(Consumer<Resource.Builder> resource) The resource where permissions are to be granted or revoked.The resource where permissions are to be granted or revoked.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
principalThe Data Lake principal to be granted or revoked permissions. - Parameters:
- principal- The Data Lake principal to be granted or revoked permissions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principaldefault PrincipalResourcePermissions.Builder principal(Consumer<DataLakePrincipal.Builder> principal) The Data Lake principal to be granted or revoked permissions. 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 on- DataLakePrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourceThe resource where permissions are to be granted or revoked. - Parameters:
- resource- The resource where permissions are to be granted or revoked.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceThe resource where permissions are to be granted or revoked. 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 on- Resource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
conditionA Lake Formation condition, which applies to permissions and opt-ins that contain an expression. - Parameters:
- condition- A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conditionA Lake Formation condition, which applies to permissions and opt-ins that contain an expression. 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 on- Condition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionsWithStringsThe permissions to be granted or revoked on the resource. - Parameters:
- permissions- The permissions to be granted or revoked on the resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsWithStringsThe permissions to be granted or revoked on the resource. - Parameters:
- permissions- The permissions to be granted or revoked on the resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsThe permissions to be granted or revoked on the resource. - Parameters:
- permissions- The permissions to be granted or revoked on the resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsThe permissions to be granted or revoked on the resource. - Parameters:
- permissions- The permissions to be granted or revoked on the resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsWithGrantOptionWithStringsPrincipalResourcePermissions.Builder permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted). - Parameters:
- permissionsWithGrantOption- Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsWithGrantOptionWithStringsPrincipalResourcePermissions.Builder permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted). - Parameters:
- permissionsWithGrantOption- Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsWithGrantOptionPrincipalResourcePermissions.Builder permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted). - Parameters:
- permissionsWithGrantOption- Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
permissionsWithGrantOptionPrincipalResourcePermissions.Builder permissionsWithGrantOption(Permission... permissionsWithGrantOption) Indicates whether to grant the ability to grant permissions (as a subset of permissions granted). - Parameters:
- permissionsWithGrantOption- Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
additionalDetailsThis attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.- Parameters:
- additionalDetails- This attribute can be used to return any additional details of- PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
additionalDetailsdefault PrincipalResourcePermissions.Builder additionalDetails(Consumer<DetailsMap.Builder> additionalDetails) This attribute can be used to return any additional details of This is a convenience method that creates an instance of thePrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.DetailsMap.Builderavoiding the need to create one manually viaDetailsMap.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalDetails(DetailsMap).- Parameters:
- additionalDetails- a consumer that will call methods on- DetailsMap.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lastUpdatedThe date and time when the resource was last updated. - Parameters:
- lastUpdated- The date and time when the resource was last updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lastUpdatedByThe user who updated the record. - Parameters:
- lastUpdatedBy- The user who updated the record.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-