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 AWS used to calculate the costs for this instance.
|
CurrentInstance.Builder |
instanceName(String instanceName)
The name you've given an instance.
|
CurrentInstance.Builder |
monthlyCost(String monthlyCost)
Current On-Demand cost of operating this instance on a monthly basis.
|
CurrentInstance.Builder |
onDemandHoursInLookbackPeriod(String onDemandHoursInLookbackPeriod)
Number of hours during the lookback period billed at On-Demand rates.
|
CurrentInstance.Builder |
reservationCoveredHoursInLookbackPeriod(String reservationCoveredHoursInLookbackPeriod)
Number of hours during the lookback period 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)
Number of hours during the lookback period covered by Savings Plans.
|
CurrentInstance.Builder |
tags(Collection<TagValues> tags)
Cost allocation resource tags applied to the instance.
|
CurrentInstance.Builder |
tags(Consumer<TagValues.Builder>... tags)
Cost allocation resource tags applied to the instance.
|
CurrentInstance.Builder |
tags(TagValues... tags)
Cost allocation resource tags applied to the instance.
|
CurrentInstance.Builder |
totalRunningHoursInLookbackPeriod(String totalRunningHoursInLookbackPeriod)
The total number of hours 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 you've given an instance. This field will show as blank if you haven't given the instance a name.
instanceName - The name you've given an instance. This field will show as blank if you haven't given the instance a
name.CurrentInstance.Builder tags(Collection<TagValues> tags)
Cost allocation resource tags applied to the instance.
tags - Cost allocation resource tags applied to the instance.CurrentInstance.Builder tags(TagValues... tags)
Cost allocation resource tags applied to the instance.
tags - Cost allocation resource tags applied to the instance.CurrentInstance.Builder tags(Consumer<TagValues.Builder>... tags)
Cost allocation resource tags applied to the instance.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) 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 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 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)
Number of hours during the lookback period covered by reservations.
reservationCoveredHoursInLookbackPeriod - Number of hours during the lookback period covered by reservations.CurrentInstance.Builder savingsPlansCoveredHoursInLookbackPeriod(String savingsPlansCoveredHoursInLookbackPeriod)
Number of hours during the lookback period covered by Savings Plans.
savingsPlansCoveredHoursInLookbackPeriod - Number of hours during the lookback period covered by Savings Plans.CurrentInstance.Builder onDemandHoursInLookbackPeriod(String onDemandHoursInLookbackPeriod)
Number of hours during the lookback period billed at On-Demand rates.
onDemandHoursInLookbackPeriod - Number of hours during the lookback period billed at On-Demand rates.CurrentInstance.Builder totalRunningHoursInLookbackPeriod(String totalRunningHoursInLookbackPeriod)
The total number of hours the instance ran during the lookback period.
totalRunningHoursInLookbackPeriod - The total number of hours the instance ran during the lookback period.CurrentInstance.Builder monthlyCost(String monthlyCost)
Current On-Demand cost of operating this instance on a monthly basis.
monthlyCost - Current On-Demand cost of operating this instance on a monthly basis.CurrentInstance.Builder currencyCode(String currencyCode)
The currency code that AWS used to calculate the costs for this instance.
currencyCode - The currency code that AWS used to calculate the costs for this instance.Copyright © 2021. All rights reserved.