Interface LicenseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>,SdkBuilder<LicenseConfiguration.Builder,LicenseConfiguration>,SdkPojo
- Enclosing class:
- LicenseConfiguration
public static interface LicenseConfiguration.Builder extends SdkPojo, CopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LicenseConfiguration.BuilderautomatedDiscoveryInformation(Consumer<AutomatedDiscoveryInformation.Builder> automatedDiscoveryInformation)Automated discovery information.LicenseConfiguration.BuilderautomatedDiscoveryInformation(AutomatedDiscoveryInformation automatedDiscoveryInformation)Automated discovery information.LicenseConfiguration.BuilderconsumedLicenses(Long consumedLicenses)Number of licenses consumed.LicenseConfiguration.BuilderconsumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)Summaries for licenses consumed by various resources.LicenseConfiguration.BuilderconsumedLicenseSummaryList(Consumer<ConsumedLicenseSummary.Builder>... consumedLicenseSummaryList)Summaries for licenses consumed by various resources.LicenseConfiguration.BuilderconsumedLicenseSummaryList(ConsumedLicenseSummary... consumedLicenseSummaryList)Summaries for licenses consumed by various resources.LicenseConfiguration.Builderdescription(String description)Description of the license configuration.LicenseConfiguration.BuilderdisassociateWhenNotFound(Boolean disassociateWhenNotFound)When true, disassociates a resource when software is uninstalled.LicenseConfiguration.BuilderlicenseConfigurationArn(String licenseConfigurationArn)Amazon Resource Name (ARN) of the license configuration.LicenseConfiguration.BuilderlicenseConfigurationId(String licenseConfigurationId)Unique ID of the license configuration.LicenseConfiguration.BuilderlicenseCount(Long licenseCount)Number of licenses managed by the license configuration.LicenseConfiguration.BuilderlicenseCountHardLimit(Boolean licenseCountHardLimit)Number of available licenses as a hard limit.LicenseConfiguration.BuilderlicenseCountingType(String licenseCountingType)Dimension to use to track the license inventory.LicenseConfiguration.BuilderlicenseCountingType(LicenseCountingType licenseCountingType)Dimension to use to track the license inventory.LicenseConfiguration.BuilderlicenseRules(String... licenseRules)License rules.LicenseConfiguration.BuilderlicenseRules(Collection<String> licenseRules)License rules.LicenseConfiguration.BuildermanagedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)Summaries for managed resources.LicenseConfiguration.BuildermanagedResourceSummaryList(Consumer<ManagedResourceSummary.Builder>... managedResourceSummaryList)Summaries for managed resources.LicenseConfiguration.BuildermanagedResourceSummaryList(ManagedResourceSummary... managedResourceSummaryList)Summaries for managed resources.LicenseConfiguration.Buildername(String name)Name of the license configuration.LicenseConfiguration.BuilderownerAccountId(String ownerAccountId)Account ID of the license configuration's owner.LicenseConfiguration.BuilderproductInformationList(Collection<ProductInformation> productInformationList)Product information.LicenseConfiguration.BuilderproductInformationList(Consumer<ProductInformation.Builder>... productInformationList)Product information.LicenseConfiguration.BuilderproductInformationList(ProductInformation... productInformationList)Product information.LicenseConfiguration.Builderstatus(String status)Status of the license configuration.-
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, sdkFields
-
-
-
-
Method Detail
-
licenseConfigurationId
LicenseConfiguration.Builder licenseConfigurationId(String licenseConfigurationId)
Unique ID of the license configuration.
- Parameters:
licenseConfigurationId- Unique ID of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseConfigurationArn
LicenseConfiguration.Builder licenseConfigurationArn(String licenseConfigurationArn)
Amazon Resource Name (ARN) of the license configuration.
- Parameters:
licenseConfigurationArn- Amazon Resource Name (ARN) of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
LicenseConfiguration.Builder name(String name)
Name of the license configuration.
- Parameters:
name- Name of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
LicenseConfiguration.Builder description(String description)
Description of the license configuration.
- Parameters:
description- Description of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCountingType
LicenseConfiguration.Builder licenseCountingType(String licenseCountingType)
Dimension to use to track the license inventory.
- Parameters:
licenseCountingType- Dimension to use to track the license inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseCountingType,LicenseCountingType
-
licenseCountingType
LicenseConfiguration.Builder licenseCountingType(LicenseCountingType licenseCountingType)
Dimension to use to track the license inventory.
- Parameters:
licenseCountingType- Dimension to use to track the license inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseCountingType,LicenseCountingType
-
licenseRules
LicenseConfiguration.Builder licenseRules(Collection<String> licenseRules)
License rules.
- Parameters:
licenseRules- License rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseRules
LicenseConfiguration.Builder licenseRules(String... licenseRules)
License rules.
- Parameters:
licenseRules- License rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCount
LicenseConfiguration.Builder licenseCount(Long licenseCount)
Number of licenses managed by the license configuration.
- Parameters:
licenseCount- Number of licenses managed by the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseCountHardLimit
LicenseConfiguration.Builder licenseCountHardLimit(Boolean licenseCountHardLimit)
Number of available licenses as a hard limit.
- Parameters:
licenseCountHardLimit- Number of available licenses as a hard limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disassociateWhenNotFound
LicenseConfiguration.Builder disassociateWhenNotFound(Boolean disassociateWhenNotFound)
When true, disassociates a resource when software is uninstalled.
- Parameters:
disassociateWhenNotFound- When true, disassociates a resource when software is uninstalled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedLicenses
LicenseConfiguration.Builder consumedLicenses(Long consumedLicenses)
Number of licenses consumed.
- Parameters:
consumedLicenses- Number of licenses consumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
LicenseConfiguration.Builder status(String status)
Status of the license configuration.
- Parameters:
status- Status of the license configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
LicenseConfiguration.Builder ownerAccountId(String ownerAccountId)
Account ID of the license configuration's owner.
- Parameters:
ownerAccountId- Account ID of the license configuration's owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedLicenseSummaryList
LicenseConfiguration.Builder consumedLicenseSummaryList(Collection<ConsumedLicenseSummary> consumedLicenseSummaryList)
Summaries for licenses consumed by various resources.
- Parameters:
consumedLicenseSummaryList- Summaries for licenses consumed by various resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedLicenseSummaryList
LicenseConfiguration.Builder consumedLicenseSummaryList(ConsumedLicenseSummary... consumedLicenseSummaryList)
Summaries for licenses consumed by various resources.
- Parameters:
consumedLicenseSummaryList- Summaries for licenses consumed by various resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedLicenseSummaryList
LicenseConfiguration.Builder consumedLicenseSummaryList(Consumer<ConsumedLicenseSummary.Builder>... consumedLicenseSummaryList)
Summaries for licenses consumed by various resources.
This is a convenience method that creates an instance of theConsumedLicenseSummary.Builderavoiding the need to create one manually viaConsumedLicenseSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#consumedLicenseSummaryList(List.) - Parameters:
consumedLicenseSummaryList- a consumer that will call methods onConsumedLicenseSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#consumedLicenseSummaryList(java.util.Collection)
-
managedResourceSummaryList
LicenseConfiguration.Builder managedResourceSummaryList(Collection<ManagedResourceSummary> managedResourceSummaryList)
Summaries for managed resources.
- Parameters:
managedResourceSummaryList- Summaries for managed resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedResourceSummaryList
LicenseConfiguration.Builder managedResourceSummaryList(ManagedResourceSummary... managedResourceSummaryList)
Summaries for managed resources.
- Parameters:
managedResourceSummaryList- Summaries for managed resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedResourceSummaryList
LicenseConfiguration.Builder managedResourceSummaryList(Consumer<ManagedResourceSummary.Builder>... managedResourceSummaryList)
Summaries for managed resources.
This is a convenience method that creates an instance of theManagedResourceSummary.Builderavoiding the need to create one manually viaManagedResourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#managedResourceSummaryList(List.) - Parameters:
managedResourceSummaryList- a consumer that will call methods onManagedResourceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#managedResourceSummaryList(java.util.Collection)
-
productInformationList
LicenseConfiguration.Builder productInformationList(Collection<ProductInformation> productInformationList)
Product information.
- Parameters:
productInformationList- Product information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
LicenseConfiguration.Builder productInformationList(ProductInformation... productInformationList)
Product information.
- Parameters:
productInformationList- Product information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productInformationList
LicenseConfiguration.Builder productInformationList(Consumer<ProductInformation.Builder>... productInformationList)
Product information.
This is a convenience method that creates an instance of theProductInformation.Builderavoiding the need to create one manually viaProductInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#productInformationList(List.) - Parameters:
productInformationList- a consumer that will call methods onProductInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#productInformationList(java.util.Collection)
-
automatedDiscoveryInformation
LicenseConfiguration.Builder automatedDiscoveryInformation(AutomatedDiscoveryInformation automatedDiscoveryInformation)
Automated discovery information.
- Parameters:
automatedDiscoveryInformation- Automated discovery information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automatedDiscoveryInformation
default LicenseConfiguration.Builder automatedDiscoveryInformation(Consumer<AutomatedDiscoveryInformation.Builder> automatedDiscoveryInformation)
Automated discovery information.
This is a convenience method that creates an instance of theAutomatedDiscoveryInformation.Builderavoiding the need to create one manually viaAutomatedDiscoveryInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomatedDiscoveryInformation(AutomatedDiscoveryInformation).- Parameters:
automatedDiscoveryInformation- a consumer that will call methods onAutomatedDiscoveryInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
automatedDiscoveryInformation(AutomatedDiscoveryInformation)
-
-