Interface Grant.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Grant.Builder,,- Grant> - SdkBuilder<Grant.Builder,,- Grant> - SdkPojo
- Enclosing class:
- Grant
@Mutable
@NotThreadSafe
public static interface Grant.Builder
extends SdkPojo, CopyableBuilder<Grant.Builder,Grant> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault Grant.Buildergrantee(Consumer<Grantee.Builder> grantee) The person being granted permissions.The person being granted permissions.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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
granteeThe person being granted permissions. - Parameters:
- grantee- The person being granted permissions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
granteeThe person being granted permissions. 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 on- Grantee.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionSpecifies 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:
 
- 
permissionSpecifies 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:
 
 
-