Interface LicenseConversionContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LicenseConversionContext.Builder,
,LicenseConversionContext> SdkBuilder<LicenseConversionContext.Builder,
,LicenseConversionContext> SdkPojo
- Enclosing class:
LicenseConversionContext
@Mutable
@NotThreadSafe
public static interface LicenseConversionContext.Builder
extends SdkPojo, CopyableBuilder<LicenseConversionContext.Builder,LicenseConversionContext>
-
Method Summary
Modifier and TypeMethodDescriptionproductCodes
(Collection<ProductCodeListItem> productCodes) Product codes referred to in the license conversion process.productCodes
(Consumer<ProductCodeListItem.Builder>... productCodes) Product codes referred to in the license conversion process.productCodes
(ProductCodeListItem... productCodes) Product codes referred to in the license conversion process.usageOperation
(String usageOperation) The Usage operation value that corresponds to the license type you are converting your resource from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
usageOperation
The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see Sample data: usage operation by platform
- Parameters:
usageOperation
- The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see Sample data: usage operation by platform- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
Product codes referred to in the license conversion process.
- Parameters:
productCodes
- Product codes referred to in the license conversion process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
Product codes referred to in the license conversion process.
- Parameters:
productCodes
- Product codes referred to in the license conversion process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
LicenseConversionContext.Builder productCodes(Consumer<ProductCodeListItem.Builder>... productCodes) Product codes referred to in the license conversion process.
This is a convenience method that creates an instance of theProductCodeListItem.Builder
avoiding the need to create one manually viaProductCodeListItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproductCodes(List<ProductCodeListItem>)
.- Parameters:
productCodes
- a consumer that will call methods onProductCodeListItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-