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
-
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
CreateGrantVersionRequest.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.
-
grantArn
CreateGrantVersionRequest.Builder grantArn(String 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
CreateGrantVersionRequest.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.
-
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
CreateGrantVersionRequest.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
CreateGrantVersionRequest.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
CreateGrantVersionRequest.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.
-
status
CreateGrantVersionRequest.Builder status(String status)
Grant status.
- Parameters:
status- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantStatus,GrantStatus
-
status
CreateGrantVersionRequest.Builder status(GrantStatus status)
Grant status.
- Parameters:
status- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantStatus,GrantStatus
-
statusReason
CreateGrantVersionRequest.Builder statusReason(String 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
CreateGrantVersionRequest.Builder sourceVersion(String 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
CreateGrantVersionRequest.Builder options(Options 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
default CreateGrantVersionRequest.Builder options(Consumer<Options.Builder> 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:
options(Options)
-
overrideConfiguration
CreateGrantVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGrantVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-