public static interface CurrentInstance.Builder extends SdkPojo, CopyableBuilder<CurrentInstance.Builder,CurrentInstance>
| Modifier and Type | Method and Description |
|---|---|
CurrentInstance.Builder |
currencyCode(String currencyCode)
The currency code that Amazon Web Services used to calculate the costs for this instance.
|
CurrentInstance.Builder |
instanceName(String instanceName)
The name that you given an instance.
|
CurrentInstance.Builder |
monthlyCost(String monthlyCost)
The current On-Demand cost of operating this instance on a monthly basis.
|
CurrentInstance.Builder |
onDemandHoursInLookbackPeriod(String onDemandHoursInLookbackPeriod)
The number of hours during the lookback period that's billed at On-Demand rates.
|
CurrentInstance.Builder |
reservationCoveredHoursInLookbackPeriod(String reservationCoveredHoursInLookbackPeriod)
The number of hours during the lookback period that's covered by reservations.
|
default CurrentInstance.Builder |
resourceDetails(Consumer<ResourceDetails.Builder> resourceDetails)
Details about the resource and utilization.
|
CurrentInstance.Builder |
resourceDetails(ResourceDetails resourceDetails)
Details about the resource and utilization.
|
CurrentInstance.Builder |
resourceId(String resourceId)
Resource ID of the current instance.
|
default CurrentInstance.Builder |
resourceUtilization(Consumer<ResourceUtilization.Builder> resourceUtilization)
Utilization information of the current instance during the lookback period.
|
CurrentInstance.Builder |
resourceUtilization(ResourceUtilization resourceUtilization)
Utilization information of the current instance during the lookback period.
|
CurrentInstance.Builder |
savingsPlansCoveredHoursInLookbackPeriod(String savingsPlansCoveredHoursInLookbackPeriod)
The number of hours during the lookback period that's covered by Savings Plans.
|
CurrentInstance.Builder |
tags(Collection<TagValues> tags)
Cost allocation resource tags that are applied to the instance.
|
CurrentInstance.Builder |
tags(Consumer<TagValues.Builder>... tags)
Cost allocation resource tags that are applied to the instance.
|
CurrentInstance.Builder |
tags(TagValues... tags)
Cost allocation resource tags that are applied to the instance.
|
CurrentInstance.Builder |
totalRunningHoursInLookbackPeriod(String totalRunningHoursInLookbackPeriod)
The total number of hours that the instance ran during the lookback period.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCurrentInstance.Builder resourceId(String resourceId)
Resource ID of the current instance.
resourceId - Resource ID of the current instance.CurrentInstance.Builder instanceName(String instanceName)
The name that you given an instance. This field shows as blank if you haven't given the instance a name.
instanceName - The name that you given an instance. This field shows as blank if you haven't given the instance a
name.CurrentInstance.Builder tags(Collection<TagValues> tags)
Cost allocation resource tags that are applied to the instance.
tags - Cost allocation resource tags that are applied to the instance.CurrentInstance.Builder tags(TagValues... tags)
Cost allocation resource tags that are applied to the instance.
tags - Cost allocation resource tags that are applied to the instance.CurrentInstance.Builder tags(Consumer<TagValues.Builder>... tags)
Cost allocation resource tags that are applied to the instance.
This is a convenience method that creates an instance of theTagValues.Builder avoiding the need to create one
manually via TagValues.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
TagValues.Builder#tags(java.util.Collection) CurrentInstance.Builder resourceDetails(ResourceDetails resourceDetails)
Details about the resource and utilization.
resourceDetails - Details about the resource and utilization.default CurrentInstance.Builder resourceDetails(Consumer<ResourceDetails.Builder> resourceDetails)
Details about the resource and utilization.
This is a convenience method that creates an instance of theResourceDetails.Builder avoiding the
need to create one manually via ResourceDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceDetails(ResourceDetails).
resourceDetails - a consumer that will call methods on ResourceDetails.BuilderresourceDetails(ResourceDetails)CurrentInstance.Builder resourceUtilization(ResourceUtilization resourceUtilization)
Utilization information of the current instance during the lookback period.
resourceUtilization - Utilization information of the current instance during the lookback period.default CurrentInstance.Builder resourceUtilization(Consumer<ResourceUtilization.Builder> resourceUtilization)
Utilization information of the current instance during the lookback period.
This is a convenience method that creates an instance of theResourceUtilization.Builder avoiding the
need to create one manually via ResourceUtilization.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to resourceUtilization(ResourceUtilization).
resourceUtilization - a consumer that will call methods on ResourceUtilization.BuilderresourceUtilization(ResourceUtilization)CurrentInstance.Builder reservationCoveredHoursInLookbackPeriod(String reservationCoveredHoursInLookbackPeriod)
The number of hours during the lookback period that's covered by reservations.
reservationCoveredHoursInLookbackPeriod - The number of hours during the lookback period that's covered by reservations.CurrentInstance.Builder savingsPlansCoveredHoursInLookbackPeriod(String savingsPlansCoveredHoursInLookbackPeriod)
The number of hours during the lookback period that's covered by Savings Plans.
savingsPlansCoveredHoursInLookbackPeriod - The number of hours during the lookback period that's covered by Savings Plans.CurrentInstance.Builder onDemandHoursInLookbackPeriod(String onDemandHoursInLookbackPeriod)
The number of hours during the lookback period that's billed at On-Demand rates.
onDemandHoursInLookbackPeriod - The number of hours during the lookback period that's billed at On-Demand rates.CurrentInstance.Builder totalRunningHoursInLookbackPeriod(String totalRunningHoursInLookbackPeriod)
The total number of hours that the instance ran during the lookback period.
totalRunningHoursInLookbackPeriod - The total number of hours that the instance ran during the lookback period.CurrentInstance.Builder monthlyCost(String monthlyCost)
The current On-Demand cost of operating this instance on a monthly basis.
monthlyCost - The current On-Demand cost of operating this instance on a monthly basis.CurrentInstance.Builder currencyCode(String currencyCode)
The currency code that Amazon Web Services used to calculate the costs for this instance.
currencyCode - The currency code that Amazon Web Services used to calculate the costs for this instance.Copyright © 2022. All rights reserved.