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
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
-
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.Builderavoiding the need to create one manually viaLicenseConversionContext.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLicenseConversionContext.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-