Interface NamespaceCapacityInfo.CapacityModeOptions.ProvisionedOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NamespaceCapacityInfo.CapacityModeOptions.Provisioned,NamespaceCapacityInfo.CapacityModeOptions.Provisioned.Builder
- Enclosing class:
NamespaceCapacityInfo.CapacityModeOptions
public static interface NamespaceCapacityInfo.CapacityModeOptions.ProvisionedOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleThe maximum TRU value that can currently be set for this namespace.doublegetValidTruValues(int index) The valid TRU (Temporal Resource Unit) values that can be set.intThe valid TRU (Temporal Resource Unit) values that can be set.The valid TRU (Temporal Resource Unit) values that can be set.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValidTruValuesList
-
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.
-