public static interface LicenseRecommendation.Builder extends SdkPojo, CopyableBuilder<LicenseRecommendation.Builder,LicenseRecommendation>
| Modifier and Type | Method and Description |
|---|---|
LicenseRecommendation.Builder |
accountId(String accountId)
The Amazon Web Services account ID of the license.
|
default LicenseRecommendation.Builder |
currentLicenseConfiguration(Consumer<LicenseConfiguration.Builder> currentLicenseConfiguration)
An object that describes the current configuration of an instance that runs on a license.
|
LicenseRecommendation.Builder |
currentLicenseConfiguration(LicenseConfiguration currentLicenseConfiguration)
An object that describes the current configuration of an instance that runs on a license.
|
LicenseRecommendation.Builder |
finding(LicenseFinding finding)
The finding classification for an instance that runs on a license.
|
LicenseRecommendation.Builder |
finding(String finding)
The finding classification for an instance that runs on a license.
|
LicenseRecommendation.Builder |
findingReasonCodes(Collection<LicenseFindingReasonCode> findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
|
LicenseRecommendation.Builder |
findingReasonCodes(LicenseFindingReasonCode... findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
|
LicenseRecommendation.Builder |
findingReasonCodesWithStrings(Collection<String> findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
|
LicenseRecommendation.Builder |
findingReasonCodesWithStrings(String... findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
|
LicenseRecommendation.Builder |
lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the license recommendation was last generated.
|
LicenseRecommendation.Builder |
licenseRecommendationOptions(Collection<LicenseRecommendationOption> licenseRecommendationOptions)
An array of objects that describe the license recommendation options.
|
LicenseRecommendation.Builder |
licenseRecommendationOptions(Consumer<LicenseRecommendationOption.Builder>... licenseRecommendationOptions)
An array of objects that describe the license recommendation options.
|
LicenseRecommendation.Builder |
licenseRecommendationOptions(LicenseRecommendationOption... licenseRecommendationOptions)
An array of objects that describe the license recommendation options.
|
LicenseRecommendation.Builder |
lookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days for which utilization metrics were analyzed for an instance that runs on a license.
|
LicenseRecommendation.Builder |
resourceArn(String resourceArn)
The ARN that identifies the Amazon EC2 instance.
|
LicenseRecommendation.Builder |
tags(Collection<Tag> tags)
A list of tags assigned to an EC2 instance.
|
LicenseRecommendation.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags assigned to an EC2 instance.
|
LicenseRecommendation.Builder |
tags(Tag... tags)
A list of tags assigned to an EC2 instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLicenseRecommendation.Builder resourceArn(String resourceArn)
The ARN that identifies the Amazon EC2 instance.
resourceArn - The ARN that identifies the Amazon EC2 instance.LicenseRecommendation.Builder accountId(String accountId)
The Amazon Web Services account ID of the license.
accountId - The Amazon Web Services account ID of the license.LicenseRecommendation.Builder currentLicenseConfiguration(LicenseConfiguration currentLicenseConfiguration)
An object that describes the current configuration of an instance that runs on a license.
currentLicenseConfiguration - An object that describes the current configuration of an instance that runs on a license.default LicenseRecommendation.Builder currentLicenseConfiguration(Consumer<LicenseConfiguration.Builder> currentLicenseConfiguration)
An object that describes the current configuration of an instance that runs on a license.
This is a convenience method that creates an instance of theLicenseConfiguration.Builder avoiding
the need to create one manually via LicenseConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to currentLicenseConfiguration(LicenseConfiguration).
currentLicenseConfiguration - a consumer that will call methods on LicenseConfiguration.BuildercurrentLicenseConfiguration(LicenseConfiguration)LicenseRecommendation.Builder lookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days for which utilization metrics were analyzed for an instance that runs on a license.
lookbackPeriodInDays - The number of days for which utilization metrics were analyzed for an instance that runs on a license.LicenseRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the license recommendation was last generated.
lastRefreshTimestamp - The timestamp of when the license recommendation was last generated.LicenseRecommendation.Builder finding(String finding)
The finding classification for an instance that runs on a license.
Findings include:
InsufficentMetrics — When Compute Optimizer detects that your CloudWatch Application Insights
isn't enabled or is enabled with insufficient permissions.
NotOptimized — When Compute Optimizer detects that your EC2 infrastructure isn't using any of
the SQL server license features you're paying for, a license is considered not optimized.
Optimized — When Compute Optimizer detects that all specifications of your license meet the
performance requirements of your workload.
finding - The finding classification for an instance that runs on a license.
Findings include:
InsufficentMetrics — When Compute Optimizer detects that your CloudWatch Application
Insights isn't enabled or is enabled with insufficient permissions.
NotOptimized — When Compute Optimizer detects that your EC2 infrastructure isn't using
any of the SQL server license features you're paying for, a license is considered not optimized.
Optimized — When Compute Optimizer detects that all specifications of your license meet
the performance requirements of your workload.
LicenseFinding,
LicenseFindingLicenseRecommendation.Builder finding(LicenseFinding finding)
The finding classification for an instance that runs on a license.
Findings include:
InsufficentMetrics — When Compute Optimizer detects that your CloudWatch Application Insights
isn't enabled or is enabled with insufficient permissions.
NotOptimized — When Compute Optimizer detects that your EC2 infrastructure isn't using any of
the SQL server license features you're paying for, a license is considered not optimized.
Optimized — When Compute Optimizer detects that all specifications of your license meet the
performance requirements of your workload.
finding - The finding classification for an instance that runs on a license.
Findings include:
InsufficentMetrics — When Compute Optimizer detects that your CloudWatch Application
Insights isn't enabled or is enabled with insufficient permissions.
NotOptimized — When Compute Optimizer detects that your EC2 infrastructure isn't using
any of the SQL server license features you're paying for, a license is considered not optimized.
Optimized — When Compute Optimizer detects that all specifications of your license meet
the performance requirements of your workload.
LicenseFinding,
LicenseFindingLicenseRecommendation.Builder findingReasonCodesWithStrings(Collection<String> findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can be
downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
findingReasonCodes - The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can
be downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
LicenseRecommendation.Builder findingReasonCodesWithStrings(String... findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can be
downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
findingReasonCodes - The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can
be downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
LicenseRecommendation.Builder findingReasonCodes(Collection<LicenseFindingReasonCode> findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can be
downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
findingReasonCodes - The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can
be downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
LicenseRecommendation.Builder findingReasonCodes(LicenseFindingReasonCode... findingReasonCodes)
The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can be
downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
findingReasonCodes - The reason for the finding classification for an instance that runs on a license.
Finding reason codes include:
Optimized — All specifications of your license meet the performance requirements of your
workload.
LicenseOverprovisioned — A license is considered over-provisioned when your license can
be downgraded while still meeting the performance requirements of your workload.
InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured
properly.
CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
LicenseRecommendation.Builder licenseRecommendationOptions(Collection<LicenseRecommendationOption> licenseRecommendationOptions)
An array of objects that describe the license recommendation options.
licenseRecommendationOptions - An array of objects that describe the license recommendation options.LicenseRecommendation.Builder licenseRecommendationOptions(LicenseRecommendationOption... licenseRecommendationOptions)
An array of objects that describe the license recommendation options.
licenseRecommendationOptions - An array of objects that describe the license recommendation options.LicenseRecommendation.Builder licenseRecommendationOptions(Consumer<LicenseRecommendationOption.Builder>... licenseRecommendationOptions)
An array of objects that describe the license recommendation options.
This is a convenience method that creates an instance of theLicenseRecommendationOption.Builder avoiding
the need to create one manually via
LicenseRecommendationOption.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #licenseRecommendationOptions(List.
licenseRecommendationOptions - a consumer that will call methods on
LicenseRecommendationOption.Builder#licenseRecommendationOptions(java.util.Collection) LicenseRecommendation.Builder tags(Collection<Tag> tags)
A list of tags assigned to an EC2 instance.
tags - A list of tags assigned to an EC2 instance.LicenseRecommendation.Builder tags(Tag... tags)
A list of tags assigned to an EC2 instance.
tags - A list of tags assigned to an EC2 instance.LicenseRecommendation.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags assigned to an EC2 instance.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.