Interface CurrentInstance.Builder

    • Method Detail

      • resourceId

        CurrentInstance.Builder resourceId​(String resourceId)

        Resource ID of the current instance.

        Parameters:
        resourceId - Resource ID of the current instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceName

        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.

        Parameters:
        instanceName - The name that you given an instance. This field shows as blank if you haven't given the instance a name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CurrentInstance.Builder tags​(Collection<TagValues> tags)

        Cost allocation resource tags that are applied to the instance.

        Parameters:
        tags - Cost allocation resource tags that are applied to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CurrentInstance.Builder tags​(TagValues... tags)

        Cost allocation resource tags that are applied to the instance.

        Parameters:
        tags - Cost allocation resource tags that are applied to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceDetails

        CurrentInstance.Builder resourceDetails​(ResourceDetails resourceDetails)

        Details about the resource and utilization.

        Parameters:
        resourceDetails - Details about the resource and utilization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceUtilization

        CurrentInstance.Builder resourceUtilization​(ResourceUtilization resourceUtilization)

        Utilization information of the current instance during the lookback period.

        Parameters:
        resourceUtilization - Utilization information of the current instance during the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservationCoveredHoursInLookbackPeriod

        CurrentInstance.Builder reservationCoveredHoursInLookbackPeriod​(String reservationCoveredHoursInLookbackPeriod)

        The number of hours during the lookback period that's covered by reservations.

        Parameters:
        reservationCoveredHoursInLookbackPeriod - The number of hours during the lookback period that's covered by reservations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • savingsPlansCoveredHoursInLookbackPeriod

        CurrentInstance.Builder savingsPlansCoveredHoursInLookbackPeriod​(String savingsPlansCoveredHoursInLookbackPeriod)

        The number of hours during the lookback period that's covered by Savings Plans.

        Parameters:
        savingsPlansCoveredHoursInLookbackPeriod - The number of hours during the lookback period that's covered by Savings Plans.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • onDemandHoursInLookbackPeriod

        CurrentInstance.Builder onDemandHoursInLookbackPeriod​(String onDemandHoursInLookbackPeriod)

        The number of hours during the lookback period that's billed at On-Demand rates.

        Parameters:
        onDemandHoursInLookbackPeriod - The number of hours during the lookback period that's billed at On-Demand rates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalRunningHoursInLookbackPeriod

        CurrentInstance.Builder totalRunningHoursInLookbackPeriod​(String totalRunningHoursInLookbackPeriod)

        The total number of hours that the instance ran during the lookback period.

        Parameters:
        totalRunningHoursInLookbackPeriod - The total number of hours that the instance ran during the lookback period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monthlyCost

        CurrentInstance.Builder monthlyCost​(String monthlyCost)

        The current On-Demand cost of operating this instance on a monthly basis.

        Parameters:
        monthlyCost - The current On-Demand cost of operating this instance on a monthly basis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currencyCode

        CurrentInstance.Builder currencyCode​(String currencyCode)

        The currency code that Amazon Web Services used to calculate the costs for this instance.

        Parameters:
        currencyCode - The currency code that Amazon Web Services used to calculate the costs for this instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.