Interface CreateGrantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGrantRequest.Builder,,CreateGrantRequest> LicenseManagerRequest.Builder,SdkBuilder<CreateGrantRequest.Builder,,CreateGrantRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGrantRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedOperations(Collection<AllowedOperation> allowedOperations) Allowed operations for the grant.allowedOperations(AllowedOperation... allowedOperations) Allowed operations for the grant.allowedOperationsWithStrings(String... allowedOperations) Allowed operations for the grant.allowedOperationsWithStrings(Collection<String> allowedOperations) Allowed operations for the grant.clientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.Grant name.homeRegion(String homeRegion) Home Region of the grant.licenseArn(String licenseArn) Amazon Resource Name (ARN) of the license.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principals(String... principals) The grant principals.principals(Collection<String> principals) The grant principals.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- 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.
-
licenseArn
Amazon Resource Name (ARN) of the license.
- Parameters:
licenseArn- Amazon Resource Name (ARN) of the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
-
An Amazon Web Services account, which includes only the account specified.
-
An organizational unit (OU), which includes all accounts in the OU.
-
An organization, which will include all accounts across your organization.
- Parameters:
principals- The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):-
An Amazon Web Services account, which includes only the account specified.
-
An organizational unit (OU), which includes all accounts in the OU.
-
An organization, which will include all accounts across your organization.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
principals
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
-
An Amazon Web Services account, which includes only the account specified.
-
An organizational unit (OU), which includes all accounts in the OU.
-
An organization, which will include all accounts across your organization.
- Parameters:
principals- The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):-
An Amazon Web Services account, which includes only the account specified.
-
An organizational unit (OU), which includes all accounts in the OU.
-
An organization, which will include all accounts across your organization.
-
- 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.
-
allowedOperationsWithStrings
Allowed operations for the grant.
- Parameters:
allowedOperations- Allowed operations for the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedOperationsWithStrings
Allowed operations for the grant.
- Parameters:
allowedOperations- Allowed operations for the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedOperations
Allowed operations for the grant.
- Parameters:
allowedOperations- Allowed operations for the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedOperations
Allowed operations for the grant.
- Parameters:
allowedOperations- Allowed operations for the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-