Interface CreateLicenseConversionTaskForResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLicenseConversionTaskForResourceRequest.Builder,CreateLicenseConversionTaskForResourceRequest>,LicenseManagerRequest.Builder,SdkBuilder<CreateLicenseConversionTaskForResourceRequest.Builder,CreateLicenseConversionTaskForResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLicenseConversionTaskForResourceRequest
public static interface CreateLicenseConversionTaskForResourceRequest.Builder extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateLicenseConversionTaskForResourceRequest.Builder,CreateLicenseConversionTaskForResourceRequest>
-
-
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
-
resourceArn
CreateLicenseConversionTaskForResourceRequest.Builder resourceArn(String 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:
sourceLicenseContext(LicenseConversionContext)
-
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:
destinationLicenseContext(LicenseConversionContext)
-
overrideConfiguration
CreateLicenseConversionTaskForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLicenseConversionTaskForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-