Interface CreateGrantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGrantRequest.Builder,CreateGrantRequest>,LicenseManagerRequest.Builder,SdkBuilder<CreateGrantRequest.Builder,CreateGrantRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGrantRequest
public static interface CreateGrantRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateGrantRequest.Builder,CreateGrantRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateGrantRequest.Builder clientToken(String 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
CreateGrantRequest.Builder grantName(String grantName)
Grant name.
- Parameters:
grantName- Grant name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseArn
CreateGrantRequest.Builder licenseArn(String 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
CreateGrantRequest.Builder principals(Collection<String> 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
CreateGrantRequest.Builder principals(String... 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
CreateGrantRequest.Builder homeRegion(String 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
CreateGrantRequest.Builder allowedOperationsWithStrings(Collection<String> 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.
-
allowedOperationsWithStrings
CreateGrantRequest.Builder allowedOperationsWithStrings(String... 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
CreateGrantRequest.Builder allowedOperations(Collection<AllowedOperation> 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
CreateGrantRequest.Builder allowedOperations(AllowedOperation... 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-