Interface NamespaceCapacityInfo.CapacityModeOptions.ProvisionedOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getMaxAvailableTruValue()
      The maximum TRU value that can currently be set for this namespace.
      double getValidTruValues​(int index)
      The valid TRU (Temporal Resource Unit) values that can be set.
      int getValidTruValuesCount()
      The valid TRU (Temporal Resource Unit) values that can be set.
      java.util.List<java.lang.Double> getValidTruValuesList()
      The valid TRU (Temporal Resource Unit) values that can be set.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getValidTruValuesList

        java.util.List<java.lang.Double> getValidTruValuesList()
         The valid TRU (Temporal Resource Unit) values that can be set.
         These are the discrete capacity tiers available for selection.
         
        repeated double valid_tru_values = 1;
        Returns:
        A list containing the validTruValues.
      • getValidTruValuesCount

        int getValidTruValuesCount()
         The valid TRU (Temporal Resource Unit) values that can be set.
         These are the discrete capacity tiers available for selection.
         
        repeated double valid_tru_values = 1;
        Returns:
        The count of validTruValues.
      • getValidTruValues

        double getValidTruValues​(int index)
         The valid TRU (Temporal Resource Unit) values that can be set.
         These are the discrete capacity tiers available for selection.
         
        repeated double valid_tru_values = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The validTruValues at the given index.
      • getMaxAvailableTruValue

        double getMaxAvailableTruValue()
         The maximum TRU value that can currently be set for this namespace.
         This may be lower than the highest value in valid_tru_values due to
         inventory constraints.
         
        double max_available_tru_value = 2;
        Returns:
        The maxAvailableTruValue.