Interface OrganizationAccessGrantSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationAccessGrantSummary.Builder,,OrganizationAccessGrantSummary> SdkBuilder<OrganizationAccessGrantSummary.Builder,,OrganizationAccessGrantSummary> SdkPojo
- Enclosing class:
OrganizationAccessGrantSummary
@Mutable
@NotThreadSafe
public static interface OrganizationAccessGrantSummary.Builder
extends SdkPojo, CopyableBuilder<OrganizationAccessGrantSummary.Builder,OrganizationAccessGrantSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the access grant was created.The ID of the organization domain the grant belongs to.The Amazon Resource Name (ARN) of the access grant.The unique ID of the access grant.Who manages the grant.grantType(AccessGrantType grantType) Who manages the grant.A name that identifies the access grant.permission(String permission) The permission granted.permission(OrganizationGrantPermission permission) The permission granted.The principal receiving the grant.principal(OrganizationAccessGrantPrincipal principal) The principal receiving the grant.The timestamp when the access grant was last updated.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
-
grantId
The unique ID of the access grant.
- Parameters:
grantId- The unique ID of the access grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantArn
The Amazon Resource Name (ARN) of the access grant.
- Parameters:
grantArn- The Amazon Resource Name (ARN) of the access grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name that identifies the access grant.
- Parameters:
name- A name that identifies the access grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The ID of the organization domain the grant belongs to.
- Parameters:
domainId- The ID of the organization domain the grant belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal receiving the grant.
- Parameters:
principal- The principal receiving the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default OrganizationAccessGrantSummary.Builder principal(Consumer<OrganizationAccessGrantPrincipal.Builder> principal) The principal receiving the grant.
This is a convenience method that creates an instance of theOrganizationAccessGrantPrincipal.Builderavoiding the need to create one manually viaOrganizationAccessGrantPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(OrganizationAccessGrantPrincipal).- Parameters:
principal- a consumer that will call methods onOrganizationAccessGrantPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The permission granted.
- Parameters:
permission- The permission granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The permission granted.
- Parameters:
permission- The permission granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantType
Who manages the grant.
- Parameters:
grantType- Who manages the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantType
Who manages the grant.
- Parameters:
grantType- Who manages the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the access grant was created.
- Parameters:
createdAt- The timestamp when the access grant was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the access grant was last updated.
- Parameters:
updatedAt- The timestamp when the access grant was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-