Interface Grant.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Grant.Builder,,Grant> SdkBuilder<Grant.Builder,,Grant> SdkPojo
- Enclosing class:
Grant
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the grant.grantedOperations(Collection<AllowedOperation> grantedOperations) Granted operations.grantedOperations(AllowedOperation... grantedOperations) Granted operations.grantedOperationsWithStrings(String... grantedOperations) Granted operations.grantedOperationsWithStrings(Collection<String> grantedOperations) Granted operations.granteePrincipalArn(String granteePrincipalArn) The grantee principal ARN.Grant name.grantStatus(String grantStatus) Grant status.grantStatus(GrantStatus grantStatus) Grant status.homeRegion(String homeRegion) Home Region of the grant.licenseArn(String licenseArn) License ARN.default Grant.Builderoptions(Consumer<Options.Builder> options) The options specified for the grant.The options specified for the grant.Parent ARN.statusReason(String statusReason) Grant status reason.Grant version.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
-
grantArn
Amazon Resource Name (ARN) of the grant.
- Parameters:
grantArn- Amazon Resource Name (ARN) of the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantName
Grant name.
- Parameters:
grantName- Grant name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentArn
Parent ARN.
- Parameters:
parentArn- Parent ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseArn
License ARN.
- Parameters:
licenseArn- License ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
granteePrincipalArn
The grantee principal ARN.
- Parameters:
granteePrincipalArn- The grantee principal ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homeRegion
Home Region of the grant.
- Parameters:
homeRegion- Home Region of the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantStatus
Grant status.
- Parameters:
grantStatus- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantStatus
Grant status.
- Parameters:
grantStatus- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Grant status reason.
- Parameters:
statusReason- Grant status reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Grant version.
- Parameters:
version- Grant version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperationsWithStrings
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperationsWithStrings
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperations
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperations
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options specified for the grant.
- Parameters:
options- The options specified for the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options specified for the grant.
This is a convenience method that creates an instance of theOptions.Builderavoiding the need to create one manually viaOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(Options).- Parameters:
options- a consumer that will call methods onOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-