Interface Grant.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Grant.Builder,,Grant> SdkBuilder<Grant.Builder,,Grant> SdkPojo
- Enclosing class:
Grant
-
Method Summary
Modifier and TypeMethodDescriptiondefault Grant.Buildergrantee(Consumer<Grantee.Builder> grantee) The grantee.The grantee.permission(String permission) Specifies the permission given to the grantee.permission(Permission permission) Specifies the permission given to the grantee.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, sdkFields
-
Method Details
-
grantee
The grantee.
- Parameters:
grantee- The grantee.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantee
The grantee.
This is a convenience method that creates an instance of theGrantee.Builderavoiding the need to create one manually viaGrantee.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograntee(Grantee).- Parameters:
grantee- a consumer that will call methods onGrantee.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
Specifies the permission given to the grantee.
- Parameters:
permission- Specifies the permission given to the grantee.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
Specifies the permission given to the grantee.
- Parameters:
permission- Specifies the permission given to the grantee.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-