All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.costexplorer.model.ReservationAggregates Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Cost Explorer module holds the client classes that are used for communicating with AWS Cost Explorer Service

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.costexplorer.model;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;

/**
 * 

* The aggregated numbers for your reservation usage. *

*/ @Generated("software.amazon.awssdk:codegen") public final class ReservationAggregates implements SdkPojo, Serializable, ToCopyableBuilder { private static final SdkField UTILIZATION_PERCENTAGE_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::utilizationPercentage)).setter(setter(Builder::utilizationPercentage)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("UtilizationPercentage").build()) .build(); private static final SdkField UTILIZATION_PERCENTAGE_IN_UNITS_FIELD = SdkField . builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::utilizationPercentageInUnits)) .setter(setter(Builder::utilizationPercentageInUnits)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("UtilizationPercentageInUnits") .build()).build(); private static final SdkField PURCHASED_HOURS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::purchasedHours)).setter(setter(Builder::purchasedHours)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PurchasedHours").build()).build(); private static final SdkField PURCHASED_UNITS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::purchasedUnits)).setter(setter(Builder::purchasedUnits)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PurchasedUnits").build()).build(); private static final SdkField TOTAL_ACTUAL_HOURS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::totalActualHours)).setter(setter(Builder::totalActualHours)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TotalActualHours").build()).build(); private static final SdkField TOTAL_ACTUAL_UNITS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::totalActualUnits)).setter(setter(Builder::totalActualUnits)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TotalActualUnits").build()).build(); private static final SdkField UNUSED_HOURS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::unusedHours)).setter(setter(Builder::unusedHours)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("UnusedHours").build()).build(); private static final SdkField UNUSED_UNITS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::unusedUnits)).setter(setter(Builder::unusedUnits)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("UnusedUnits").build()).build(); private static final SdkField ON_DEMAND_COST_OF_RI_HOURS_USED_FIELD = SdkField . builder(MarshallingType.STRING).getter(getter(ReservationAggregates::onDemandCostOfRIHoursUsed)) .setter(setter(Builder::onDemandCostOfRIHoursUsed)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("OnDemandCostOfRIHoursUsed").build()) .build(); private static final SdkField NET_RI_SAVINGS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::netRISavings)).setter(setter(Builder::netRISavings)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("NetRISavings").build()).build(); private static final SdkField TOTAL_POTENTIAL_RI_SAVINGS_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::totalPotentialRISavings)).setter(setter(Builder::totalPotentialRISavings)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TotalPotentialRISavings").build()) .build(); private static final SdkField AMORTIZED_UPFRONT_FEE_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::amortizedUpfrontFee)).setter(setter(Builder::amortizedUpfrontFee)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("AmortizedUpfrontFee").build()) .build(); private static final SdkField AMORTIZED_RECURRING_FEE_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::amortizedRecurringFee)).setter(setter(Builder::amortizedRecurringFee)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("AmortizedRecurringFee").build()) .build(); private static final SdkField TOTAL_AMORTIZED_FEE_FIELD = SdkField. builder(MarshallingType.STRING) .getter(getter(ReservationAggregates::totalAmortizedFee)).setter(setter(Builder::totalAmortizedFee)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("TotalAmortizedFee").build()).build(); private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(UTILIZATION_PERCENTAGE_FIELD, UTILIZATION_PERCENTAGE_IN_UNITS_FIELD, PURCHASED_HOURS_FIELD, PURCHASED_UNITS_FIELD, TOTAL_ACTUAL_HOURS_FIELD, TOTAL_ACTUAL_UNITS_FIELD, UNUSED_HOURS_FIELD, UNUSED_UNITS_FIELD, ON_DEMAND_COST_OF_RI_HOURS_USED_FIELD, NET_RI_SAVINGS_FIELD, TOTAL_POTENTIAL_RI_SAVINGS_FIELD, AMORTIZED_UPFRONT_FEE_FIELD, AMORTIZED_RECURRING_FEE_FIELD, TOTAL_AMORTIZED_FEE_FIELD)); private static final long serialVersionUID = 1L; private final String utilizationPercentage; private final String utilizationPercentageInUnits; private final String purchasedHours; private final String purchasedUnits; private final String totalActualHours; private final String totalActualUnits; private final String unusedHours; private final String unusedUnits; private final String onDemandCostOfRIHoursUsed; private final String netRISavings; private final String totalPotentialRISavings; private final String amortizedUpfrontFee; private final String amortizedRecurringFee; private final String totalAmortizedFee; private ReservationAggregates(BuilderImpl builder) { this.utilizationPercentage = builder.utilizationPercentage; this.utilizationPercentageInUnits = builder.utilizationPercentageInUnits; this.purchasedHours = builder.purchasedHours; this.purchasedUnits = builder.purchasedUnits; this.totalActualHours = builder.totalActualHours; this.totalActualUnits = builder.totalActualUnits; this.unusedHours = builder.unusedHours; this.unusedUnits = builder.unusedUnits; this.onDemandCostOfRIHoursUsed = builder.onDemandCostOfRIHoursUsed; this.netRISavings = builder.netRISavings; this.totalPotentialRISavings = builder.totalPotentialRISavings; this.amortizedUpfrontFee = builder.amortizedUpfrontFee; this.amortizedRecurringFee = builder.amortizedRecurringFee; this.totalAmortizedFee = builder.totalAmortizedFee; } /** *

* The percentage of reservation time that you used. *

* * @return The percentage of reservation time that you used. */ public String utilizationPercentage() { return utilizationPercentage; } /** *

* The percentage of Amazon EC2 reservation time that you used, converted to normalized units. Normalized units are * available only for Amazon EC2 usage after November 11, 2017. *

* * @return The percentage of Amazon EC2 reservation time that you used, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. */ public String utilizationPercentageInUnits() { return utilizationPercentageInUnits; } /** *

* How many reservation hours that you purchased. *

* * @return How many reservation hours that you purchased. */ public String purchasedHours() { return purchasedHours; } /** *

* How many Amazon EC2 reservation hours that you purchased, converted to normalized units. Normalized units are * available only for Amazon EC2 usage after November 11, 2017. *

* * @return How many Amazon EC2 reservation hours that you purchased, converted to normalized units. Normalized units * are available only for Amazon EC2 usage after November 11, 2017. */ public String purchasedUnits() { return purchasedUnits; } /** *

* The total number of reservation hours that you used. *

* * @return The total number of reservation hours that you used. */ public String totalActualHours() { return totalActualHours; } /** *

* The total number of Amazon EC2 reservation hours that you used, converted to normalized units. Normalized units * are available only for Amazon EC2 usage after November 11, 2017. *

* * @return The total number of Amazon EC2 reservation hours that you used, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. */ public String totalActualUnits() { return totalActualUnits; } /** *

* The number of reservation hours that you didn't use. *

* * @return The number of reservation hours that you didn't use. */ public String unusedHours() { return unusedHours; } /** *

* The number of Amazon EC2 reservation hours that you didn't use, converted to normalized units. Normalized units * are available only for Amazon EC2 usage after November 11, 2017. *

* * @return The number of Amazon EC2 reservation hours that you didn't use, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. */ public String unusedUnits() { return unusedUnits; } /** *

* How much your reservation would cost if charged On-Demand rates. *

* * @return How much your reservation would cost if charged On-Demand rates. */ public String onDemandCostOfRIHoursUsed() { return onDemandCostOfRIHoursUsed; } /** *

* How much you saved due to purchasing and utilizing reservation. AWS calculates this by subtracting * TotalAmortizedFee from OnDemandCostOfRIHoursUsed. *

* * @return How much you saved due to purchasing and utilizing reservation. AWS calculates this by subtracting * TotalAmortizedFee from OnDemandCostOfRIHoursUsed. */ public String netRISavings() { return netRISavings; } /** *

* How much you could save if you use your entire reservation. *

* * @return How much you could save if you use your entire reservation. */ public String totalPotentialRISavings() { return totalPotentialRISavings; } /** *

* The upfront cost of your reservation, amortized over the reservation period. *

* * @return The upfront cost of your reservation, amortized over the reservation period. */ public String amortizedUpfrontFee() { return amortizedUpfrontFee; } /** *

* The monthly cost of your reservation, amortized over the reservation period. *

* * @return The monthly cost of your reservation, amortized over the reservation period. */ public String amortizedRecurringFee() { return amortizedRecurringFee; } /** *

* The total cost of your reservation, amortized over the reservation period. *

* * @return The total cost of your reservation, amortized over the reservation period. */ public String totalAmortizedFee() { return totalAmortizedFee; } @Override public Builder toBuilder() { return new BuilderImpl(this); } public static Builder builder() { return new BuilderImpl(); } public static Class serializableBuilderClass() { return BuilderImpl.class; } @Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(utilizationPercentage()); hashCode = 31 * hashCode + Objects.hashCode(utilizationPercentageInUnits()); hashCode = 31 * hashCode + Objects.hashCode(purchasedHours()); hashCode = 31 * hashCode + Objects.hashCode(purchasedUnits()); hashCode = 31 * hashCode + Objects.hashCode(totalActualHours()); hashCode = 31 * hashCode + Objects.hashCode(totalActualUnits()); hashCode = 31 * hashCode + Objects.hashCode(unusedHours()); hashCode = 31 * hashCode + Objects.hashCode(unusedUnits()); hashCode = 31 * hashCode + Objects.hashCode(onDemandCostOfRIHoursUsed()); hashCode = 31 * hashCode + Objects.hashCode(netRISavings()); hashCode = 31 * hashCode + Objects.hashCode(totalPotentialRISavings()); hashCode = 31 * hashCode + Objects.hashCode(amortizedUpfrontFee()); hashCode = 31 * hashCode + Objects.hashCode(amortizedRecurringFee()); hashCode = 31 * hashCode + Objects.hashCode(totalAmortizedFee()); return hashCode; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ReservationAggregates)) { return false; } ReservationAggregates other = (ReservationAggregates) obj; return Objects.equals(utilizationPercentage(), other.utilizationPercentage()) && Objects.equals(utilizationPercentageInUnits(), other.utilizationPercentageInUnits()) && Objects.equals(purchasedHours(), other.purchasedHours()) && Objects.equals(purchasedUnits(), other.purchasedUnits()) && Objects.equals(totalActualHours(), other.totalActualHours()) && Objects.equals(totalActualUnits(), other.totalActualUnits()) && Objects.equals(unusedHours(), other.unusedHours()) && Objects.equals(unusedUnits(), other.unusedUnits()) && Objects.equals(onDemandCostOfRIHoursUsed(), other.onDemandCostOfRIHoursUsed()) && Objects.equals(netRISavings(), other.netRISavings()) && Objects.equals(totalPotentialRISavings(), other.totalPotentialRISavings()) && Objects.equals(amortizedUpfrontFee(), other.amortizedUpfrontFee()) && Objects.equals(amortizedRecurringFee(), other.amortizedRecurringFee()) && Objects.equals(totalAmortizedFee(), other.totalAmortizedFee()); } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("ReservationAggregates").add("UtilizationPercentage", utilizationPercentage()) .add("UtilizationPercentageInUnits", utilizationPercentageInUnits()).add("PurchasedHours", purchasedHours()) .add("PurchasedUnits", purchasedUnits()).add("TotalActualHours", totalActualHours()) .add("TotalActualUnits", totalActualUnits()).add("UnusedHours", unusedHours()).add("UnusedUnits", unusedUnits()) .add("OnDemandCostOfRIHoursUsed", onDemandCostOfRIHoursUsed()).add("NetRISavings", netRISavings()) .add("TotalPotentialRISavings", totalPotentialRISavings()).add("AmortizedUpfrontFee", amortizedUpfrontFee()) .add("AmortizedRecurringFee", amortizedRecurringFee()).add("TotalAmortizedFee", totalAmortizedFee()).build(); } public Optional getValueForField(String fieldName, Class clazz) { switch (fieldName) { case "UtilizationPercentage": return Optional.ofNullable(clazz.cast(utilizationPercentage())); case "UtilizationPercentageInUnits": return Optional.ofNullable(clazz.cast(utilizationPercentageInUnits())); case "PurchasedHours": return Optional.ofNullable(clazz.cast(purchasedHours())); case "PurchasedUnits": return Optional.ofNullable(clazz.cast(purchasedUnits())); case "TotalActualHours": return Optional.ofNullable(clazz.cast(totalActualHours())); case "TotalActualUnits": return Optional.ofNullable(clazz.cast(totalActualUnits())); case "UnusedHours": return Optional.ofNullable(clazz.cast(unusedHours())); case "UnusedUnits": return Optional.ofNullable(clazz.cast(unusedUnits())); case "OnDemandCostOfRIHoursUsed": return Optional.ofNullable(clazz.cast(onDemandCostOfRIHoursUsed())); case "NetRISavings": return Optional.ofNullable(clazz.cast(netRISavings())); case "TotalPotentialRISavings": return Optional.ofNullable(clazz.cast(totalPotentialRISavings())); case "AmortizedUpfrontFee": return Optional.ofNullable(clazz.cast(amortizedUpfrontFee())); case "AmortizedRecurringFee": return Optional.ofNullable(clazz.cast(amortizedRecurringFee())); case "TotalAmortizedFee": return Optional.ofNullable(clazz.cast(totalAmortizedFee())); default: return Optional.empty(); } } @Override public List> sdkFields() { return SDK_FIELDS; } private static Function getter(Function g) { return obj -> g.apply((ReservationAggregates) obj); } private static BiConsumer setter(BiConsumer s) { return (obj, val) -> s.accept((Builder) obj, val); } public interface Builder extends SdkPojo, CopyableBuilder { /** *

* The percentage of reservation time that you used. *

* * @param utilizationPercentage * The percentage of reservation time that you used. * @return Returns a reference to this object so that method calls can be chained together. */ Builder utilizationPercentage(String utilizationPercentage); /** *

* The percentage of Amazon EC2 reservation time that you used, converted to normalized units. Normalized units * are available only for Amazon EC2 usage after November 11, 2017. *

* * @param utilizationPercentageInUnits * The percentage of Amazon EC2 reservation time that you used, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. * @return Returns a reference to this object so that method calls can be chained together. */ Builder utilizationPercentageInUnits(String utilizationPercentageInUnits); /** *

* How many reservation hours that you purchased. *

* * @param purchasedHours * How many reservation hours that you purchased. * @return Returns a reference to this object so that method calls can be chained together. */ Builder purchasedHours(String purchasedHours); /** *

* How many Amazon EC2 reservation hours that you purchased, converted to normalized units. Normalized units are * available only for Amazon EC2 usage after November 11, 2017. *

* * @param purchasedUnits * How many Amazon EC2 reservation hours that you purchased, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. * @return Returns a reference to this object so that method calls can be chained together. */ Builder purchasedUnits(String purchasedUnits); /** *

* The total number of reservation hours that you used. *

* * @param totalActualHours * The total number of reservation hours that you used. * @return Returns a reference to this object so that method calls can be chained together. */ Builder totalActualHours(String totalActualHours); /** *

* The total number of Amazon EC2 reservation hours that you used, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. *

* * @param totalActualUnits * The total number of Amazon EC2 reservation hours that you used, converted to normalized units. * Normalized units are available only for Amazon EC2 usage after November 11, 2017. * @return Returns a reference to this object so that method calls can be chained together. */ Builder totalActualUnits(String totalActualUnits); /** *

* The number of reservation hours that you didn't use. *

* * @param unusedHours * The number of reservation hours that you didn't use. * @return Returns a reference to this object so that method calls can be chained together. */ Builder unusedHours(String unusedHours); /** *

* The number of Amazon EC2 reservation hours that you didn't use, converted to normalized units. Normalized * units are available only for Amazon EC2 usage after November 11, 2017. *

* * @param unusedUnits * The number of Amazon EC2 reservation hours that you didn't use, converted to normalized units. * Normalized units are available only for Amazon EC2 usage after November 11, 2017. * @return Returns a reference to this object so that method calls can be chained together. */ Builder unusedUnits(String unusedUnits); /** *

* How much your reservation would cost if charged On-Demand rates. *

* * @param onDemandCostOfRIHoursUsed * How much your reservation would cost if charged On-Demand rates. * @return Returns a reference to this object so that method calls can be chained together. */ Builder onDemandCostOfRIHoursUsed(String onDemandCostOfRIHoursUsed); /** *

* How much you saved due to purchasing and utilizing reservation. AWS calculates this by subtracting * TotalAmortizedFee from OnDemandCostOfRIHoursUsed. *

* * @param netRISavings * How much you saved due to purchasing and utilizing reservation. AWS calculates this by subtracting * TotalAmortizedFee from OnDemandCostOfRIHoursUsed. * @return Returns a reference to this object so that method calls can be chained together. */ Builder netRISavings(String netRISavings); /** *

* How much you could save if you use your entire reservation. *

* * @param totalPotentialRISavings * How much you could save if you use your entire reservation. * @return Returns a reference to this object so that method calls can be chained together. */ Builder totalPotentialRISavings(String totalPotentialRISavings); /** *

* The upfront cost of your reservation, amortized over the reservation period. *

* * @param amortizedUpfrontFee * The upfront cost of your reservation, amortized over the reservation period. * @return Returns a reference to this object so that method calls can be chained together. */ Builder amortizedUpfrontFee(String amortizedUpfrontFee); /** *

* The monthly cost of your reservation, amortized over the reservation period. *

* * @param amortizedRecurringFee * The monthly cost of your reservation, amortized over the reservation period. * @return Returns a reference to this object so that method calls can be chained together. */ Builder amortizedRecurringFee(String amortizedRecurringFee); /** *

* The total cost of your reservation, amortized over the reservation period. *

* * @param totalAmortizedFee * The total cost of your reservation, amortized over the reservation period. * @return Returns a reference to this object so that method calls can be chained together. */ Builder totalAmortizedFee(String totalAmortizedFee); } static final class BuilderImpl implements Builder { private String utilizationPercentage; private String utilizationPercentageInUnits; private String purchasedHours; private String purchasedUnits; private String totalActualHours; private String totalActualUnits; private String unusedHours; private String unusedUnits; private String onDemandCostOfRIHoursUsed; private String netRISavings; private String totalPotentialRISavings; private String amortizedUpfrontFee; private String amortizedRecurringFee; private String totalAmortizedFee; private BuilderImpl() { } private BuilderImpl(ReservationAggregates model) { utilizationPercentage(model.utilizationPercentage); utilizationPercentageInUnits(model.utilizationPercentageInUnits); purchasedHours(model.purchasedHours); purchasedUnits(model.purchasedUnits); totalActualHours(model.totalActualHours); totalActualUnits(model.totalActualUnits); unusedHours(model.unusedHours); unusedUnits(model.unusedUnits); onDemandCostOfRIHoursUsed(model.onDemandCostOfRIHoursUsed); netRISavings(model.netRISavings); totalPotentialRISavings(model.totalPotentialRISavings); amortizedUpfrontFee(model.amortizedUpfrontFee); amortizedRecurringFee(model.amortizedRecurringFee); totalAmortizedFee(model.totalAmortizedFee); } public final String getUtilizationPercentage() { return utilizationPercentage; } @Override public final Builder utilizationPercentage(String utilizationPercentage) { this.utilizationPercentage = utilizationPercentage; return this; } public final void setUtilizationPercentage(String utilizationPercentage) { this.utilizationPercentage = utilizationPercentage; } public final String getUtilizationPercentageInUnits() { return utilizationPercentageInUnits; } @Override public final Builder utilizationPercentageInUnits(String utilizationPercentageInUnits) { this.utilizationPercentageInUnits = utilizationPercentageInUnits; return this; } public final void setUtilizationPercentageInUnits(String utilizationPercentageInUnits) { this.utilizationPercentageInUnits = utilizationPercentageInUnits; } public final String getPurchasedHours() { return purchasedHours; } @Override public final Builder purchasedHours(String purchasedHours) { this.purchasedHours = purchasedHours; return this; } public final void setPurchasedHours(String purchasedHours) { this.purchasedHours = purchasedHours; } public final String getPurchasedUnits() { return purchasedUnits; } @Override public final Builder purchasedUnits(String purchasedUnits) { this.purchasedUnits = purchasedUnits; return this; } public final void setPurchasedUnits(String purchasedUnits) { this.purchasedUnits = purchasedUnits; } public final String getTotalActualHours() { return totalActualHours; } @Override public final Builder totalActualHours(String totalActualHours) { this.totalActualHours = totalActualHours; return this; } public final void setTotalActualHours(String totalActualHours) { this.totalActualHours = totalActualHours; } public final String getTotalActualUnits() { return totalActualUnits; } @Override public final Builder totalActualUnits(String totalActualUnits) { this.totalActualUnits = totalActualUnits; return this; } public final void setTotalActualUnits(String totalActualUnits) { this.totalActualUnits = totalActualUnits; } public final String getUnusedHours() { return unusedHours; } @Override public final Builder unusedHours(String unusedHours) { this.unusedHours = unusedHours; return this; } public final void setUnusedHours(String unusedHours) { this.unusedHours = unusedHours; } public final String getUnusedUnits() { return unusedUnits; } @Override public final Builder unusedUnits(String unusedUnits) { this.unusedUnits = unusedUnits; return this; } public final void setUnusedUnits(String unusedUnits) { this.unusedUnits = unusedUnits; } public final String getOnDemandCostOfRIHoursUsed() { return onDemandCostOfRIHoursUsed; } @Override public final Builder onDemandCostOfRIHoursUsed(String onDemandCostOfRIHoursUsed) { this.onDemandCostOfRIHoursUsed = onDemandCostOfRIHoursUsed; return this; } public final void setOnDemandCostOfRIHoursUsed(String onDemandCostOfRIHoursUsed) { this.onDemandCostOfRIHoursUsed = onDemandCostOfRIHoursUsed; } public final String getNetRISavings() { return netRISavings; } @Override public final Builder netRISavings(String netRISavings) { this.netRISavings = netRISavings; return this; } public final void setNetRISavings(String netRISavings) { this.netRISavings = netRISavings; } public final String getTotalPotentialRISavings() { return totalPotentialRISavings; } @Override public final Builder totalPotentialRISavings(String totalPotentialRISavings) { this.totalPotentialRISavings = totalPotentialRISavings; return this; } public final void setTotalPotentialRISavings(String totalPotentialRISavings) { this.totalPotentialRISavings = totalPotentialRISavings; } public final String getAmortizedUpfrontFee() { return amortizedUpfrontFee; } @Override public final Builder amortizedUpfrontFee(String amortizedUpfrontFee) { this.amortizedUpfrontFee = amortizedUpfrontFee; return this; } public final void setAmortizedUpfrontFee(String amortizedUpfrontFee) { this.amortizedUpfrontFee = amortizedUpfrontFee; } public final String getAmortizedRecurringFee() { return amortizedRecurringFee; } @Override public final Builder amortizedRecurringFee(String amortizedRecurringFee) { this.amortizedRecurringFee = amortizedRecurringFee; return this; } public final void setAmortizedRecurringFee(String amortizedRecurringFee) { this.amortizedRecurringFee = amortizedRecurringFee; } public final String getTotalAmortizedFee() { return totalAmortizedFee; } @Override public final Builder totalAmortizedFee(String totalAmortizedFee) { this.totalAmortizedFee = totalAmortizedFee; return this; } public final void setTotalAmortizedFee(String totalAmortizedFee) { this.totalAmortizedFee = totalAmortizedFee; } @Override public ReservationAggregates build() { return new ReservationAggregates(this); } @Override public List> sdkFields() { return SDK_FIELDS; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy