Interface CreateGrantVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateGrantVersionRequest.Builder,
,CreateGrantVersionRequest> LicenseManagerRequest.Builder
,SdkBuilder<CreateGrantVersionRequest.Builder,
,CreateGrantVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateGrantVersionRequest
public static interface CreateGrantVersionRequest.Builder
extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateGrantVersionRequest.Builder,CreateGrantVersionRequest>
-
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.Amazon Resource Name (ARN) of the grant.Grant name.options
(Consumer<Options.Builder> options) The options specified for the grant.The options specified for the grant.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceVersion
(String sourceVersion) Current version of the grant.Grant status.status
(GrantStatus status) Grant status.statusReason
(String statusReason) Grant status reason.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 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.
-
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.
-
allowedOperationsWithStrings
CreateGrantVersionRequest.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
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.
-
status
Grant status.
- Parameters:
status
- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Grant status.
- Parameters:
status
- 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.
-
sourceVersion
Current version of the grant.
- Parameters:
sourceVersion
- Current version of the grant.- 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.Builder
avoiding the need to create one manually viaOptions.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CreateGrantVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGrantVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-