public static interface Grant.Builder extends SdkPojo, CopyableBuilder<Grant.Builder,Grant>
| Modifier and Type | Method and Description |
|---|---|
Grant.Builder |
grantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
Grant.Builder |
grantedOperations(AllowedOperation... grantedOperations)
Granted operations.
|
Grant.Builder |
grantedOperations(Collection<AllowedOperation> grantedOperations)
Granted operations.
|
Grant.Builder |
grantedOperationsWithStrings(Collection<String> grantedOperations)
Granted operations.
|
Grant.Builder |
grantedOperationsWithStrings(String... grantedOperations)
Granted operations.
|
Grant.Builder |
granteePrincipalArn(String granteePrincipalArn)
The grantee principal ARN.
|
Grant.Builder |
grantName(String grantName)
Grant name.
|
Grant.Builder |
grantStatus(GrantStatus grantStatus)
Grant status.
|
Grant.Builder |
grantStatus(String grantStatus)
Grant status.
|
Grant.Builder |
homeRegion(String homeRegion)
Home Region of the grant.
|
Grant.Builder |
licenseArn(String licenseArn)
License ARN.
|
default Grant.Builder |
options(Consumer<Options.Builder> options)
The options specified for the grant.
|
Grant.Builder |
options(Options options)
The options specified for the grant.
|
Grant.Builder |
parentArn(String parentArn)
Parent ARN.
|
Grant.Builder |
statusReason(String statusReason)
Grant status reason.
|
Grant.Builder |
version(String version)
Grant version.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrant.Builder grantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
grantArn - Amazon Resource Name (ARN) of the grant.Grant.Builder grantName(String grantName)
Grant name.
grantName - Grant name.Grant.Builder parentArn(String parentArn)
Parent ARN.
parentArn - Parent ARN.Grant.Builder licenseArn(String licenseArn)
License ARN.
licenseArn - License ARN.Grant.Builder granteePrincipalArn(String granteePrincipalArn)
The grantee principal ARN.
granteePrincipalArn - The grantee principal ARN.Grant.Builder homeRegion(String homeRegion)
Home Region of the grant.
homeRegion - Home Region of the grant.Grant.Builder grantStatus(String grantStatus)
Grant status.
grantStatus - Grant status.GrantStatus,
GrantStatusGrant.Builder grantStatus(GrantStatus grantStatus)
Grant status.
grantStatus - Grant status.GrantStatus,
GrantStatusGrant.Builder statusReason(String statusReason)
Grant status reason.
statusReason - Grant status reason.Grant.Builder version(String version)
Grant version.
version - Grant version.Grant.Builder grantedOperationsWithStrings(Collection<String> grantedOperations)
Granted operations.
grantedOperations - Granted operations.Grant.Builder grantedOperationsWithStrings(String... grantedOperations)
Granted operations.
grantedOperations - Granted operations.Grant.Builder grantedOperations(Collection<AllowedOperation> grantedOperations)
Granted operations.
grantedOperations - Granted operations.Grant.Builder grantedOperations(AllowedOperation... grantedOperations)
Granted operations.
grantedOperations - Granted operations.Grant.Builder options(Options options)
The options specified for the grant.
options - The options specified for the grant.default Grant.Builder options(Consumer<Options.Builder> options)
The options specified for the grant.
This is a convenience method that creates an instance of theOptions.Builder avoiding the need to
create one manually via Options.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to options(Options).
options - a consumer that will call methods on Options.Builderoptions(Options)Copyright © 2023. All rights reserved.