Interface CreateLicenseConversionTaskForResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLicenseConversionTaskForResourceRequest.Builder,
,CreateLicenseConversionTaskForResourceRequest> LicenseManagerRequest.Builder
,SdkBuilder<CreateLicenseConversionTaskForResourceRequest.Builder,
,CreateLicenseConversionTaskForResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLicenseConversionTaskForResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinationLicenseContext
(Consumer<LicenseConversionContext.Builder> destinationLicenseContext) Information that identifies the license type you are converting to.destinationLicenseContext
(LicenseConversionContext destinationLicenseContext) Information that identifies the license type you are converting to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn
(String resourceArn) Amazon Resource Name (ARN) of the resource you are converting the license type for.sourceLicenseContext
(Consumer<LicenseConversionContext.Builder> sourceLicenseContext) Information that identifies the license type you are converting from.sourceLicenseContext
(LicenseConversionContext sourceLicenseContext) Information that identifies the license type you are converting from.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
-
resourceArn
Amazon Resource Name (ARN) of the resource you are converting the license type for.
- Parameters:
resourceArn
- Amazon Resource Name (ARN) of the resource you are converting the license type for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLicenseContext
CreateLicenseConversionTaskForResourceRequest.Builder sourceLicenseContext(LicenseConversionContext sourceLicenseContext) Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the CLI in the License Manager User Guide.
- Parameters:
sourceLicenseContext
- Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the CLI in the License Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLicenseContext
default CreateLicenseConversionTaskForResourceRequest.Builder sourceLicenseContext(Consumer<LicenseConversionContext.Builder> sourceLicenseContext) Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the CLI in the License Manager User Guide.
This is a convenience method that creates an instance of theLicenseConversionContext.Builder
avoiding the need to create one manually viaLicenseConversionContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceLicenseContext(LicenseConversionContext)
.- Parameters:
sourceLicenseContext
- a consumer that will call methods onLicenseConversionContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationLicenseContext
CreateLicenseConversionTaskForResourceRequest.Builder destinationLicenseContext(LicenseConversionContext destinationLicenseContext) Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the CLI in the License Manager User Guide.
- Parameters:
destinationLicenseContext
- Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the CLI in the License Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLicenseContext
default CreateLicenseConversionTaskForResourceRequest.Builder destinationLicenseContext(Consumer<LicenseConversionContext.Builder> destinationLicenseContext) Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the CLI in the License Manager User Guide.
This is a convenience method that creates an instance of theLicenseConversionContext.Builder
avoiding the need to create one manually viaLicenseConversionContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationLicenseContext(LicenseConversionContext)
.- Parameters:
destinationLicenseContext
- a consumer that will call methods onLicenseConversionContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLicenseConversionTaskForResourceRequest.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
CreateLicenseConversionTaskForResourceRequest.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.
-