Class ServiceQuota

    • Method Detail

      • serviceCode

        public final String serviceCode()

        Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.

        Returns:
        Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
      • serviceName

        public final String serviceName()

        Specifies the service name.

        Returns:
        Specifies the service name.
      • quotaArn

        public final String quotaArn()

        The Amazon Resource Name (ARN) of the quota.

        Returns:
        The Amazon Resource Name (ARN) of the quota.
      • quotaCode

        public final String quotaCode()

        Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want.

        Returns:
        Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the QuotaCode response in the output for the quota you want.
      • quotaName

        public final String quotaName()

        Specifies the quota name.

        Returns:
        Specifies the quota name.
      • value

        public final Double value()

        The quota value.

        Returns:
        The quota value.
      • unit

        public final String unit()

        The unit of measurement.

        Returns:
        The unit of measurement.
      • adjustable

        public final Boolean adjustable()

        Indicates whether the quota value can be increased.

        Returns:
        Indicates whether the quota value can be increased.
      • globalQuota

        public final Boolean globalQuota()

        Indicates whether the quota is global.

        Returns:
        Indicates whether the quota is global.
      • usageMetric

        public final MetricInfo usageMetric()

        Information about the measurement.

        Returns:
        Information about the measurement.
      • period

        public final QuotaPeriod period()

        The period of time.

        Returns:
        The period of time.
      • errorReason

        public final ErrorReason errorReason()

        The error code and error reason.

        Returns:
        The error code and error reason.
      • quotaAppliedAtLevel

        public final AppliedLevelEnum quotaAppliedAtLevel()

        Specifies at which level of granularity that the quota value is applied.

        If the service returns an enum value that is not available in the current SDK version, quotaAppliedAtLevel will return AppliedLevelEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from quotaAppliedAtLevelAsString().

        Returns:
        Specifies at which level of granularity that the quota value is applied.
        See Also:
        AppliedLevelEnum
      • quotaAppliedAtLevelAsString

        public final String quotaAppliedAtLevelAsString()

        Specifies at which level of granularity that the quota value is applied.

        If the service returns an enum value that is not available in the current SDK version, quotaAppliedAtLevel will return AppliedLevelEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from quotaAppliedAtLevelAsString().

        Returns:
        Specifies at which level of granularity that the quota value is applied.
        See Also:
        AppliedLevelEnum
      • quotaContext

        public final QuotaContextInfo quotaContext()

        The context for this service quota.

        Returns:
        The context for this service quota.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)