Interface ServiceQuota.Builder

    • Method Detail

      • serviceCode

        ServiceQuota.Builder serviceCode​(String serviceCode)

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

        Parameters:
        serviceCode - Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        ServiceQuota.Builder serviceName​(String serviceName)

        Specifies the service name.

        Parameters:
        serviceName - Specifies the service name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quotaArn

        ServiceQuota.Builder quotaArn​(String quotaArn)

        The Amazon Resource Name (ARN) of the quota.

        Parameters:
        quotaArn - The Amazon Resource Name (ARN) of the quota.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quotaCode

        ServiceQuota.Builder quotaCode​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • quotaName

        ServiceQuota.Builder quotaName​(String quotaName)

        Specifies the quota name.

        Parameters:
        quotaName - Specifies the quota name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        ServiceQuota.Builder value​(Double value)

        The quota value.

        Parameters:
        value - The quota value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        ServiceQuota.Builder unit​(String unit)

        The unit of measurement.

        Parameters:
        unit - The unit of measurement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • adjustable

        ServiceQuota.Builder adjustable​(Boolean adjustable)

        Indicates whether the quota value can be increased.

        Parameters:
        adjustable - Indicates whether the quota value can be increased.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • globalQuota

        ServiceQuota.Builder globalQuota​(Boolean globalQuota)

        Indicates whether the quota is global.

        Parameters:
        globalQuota - Indicates whether the quota is global.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usageMetric

        ServiceQuota.Builder usageMetric​(MetricInfo usageMetric)

        Information about the measurement.

        Parameters:
        usageMetric - Information about the measurement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • period

        ServiceQuota.Builder period​(QuotaPeriod period)

        The period of time.

        Parameters:
        period - The period of time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorReason

        ServiceQuota.Builder errorReason​(ErrorReason errorReason)

        The error code and error reason.

        Parameters:
        errorReason - The error code and error reason.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quotaAppliedAtLevel

        ServiceQuota.Builder quotaAppliedAtLevel​(String quotaAppliedAtLevel)

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

        Parameters:
        quotaAppliedAtLevel - Specifies at which level of granularity that the quota value is applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AppliedLevelEnum, AppliedLevelEnum
      • quotaAppliedAtLevel

        ServiceQuota.Builder quotaAppliedAtLevel​(AppliedLevelEnum quotaAppliedAtLevel)

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

        Parameters:
        quotaAppliedAtLevel - Specifies at which level of granularity that the quota value is applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AppliedLevelEnum, AppliedLevelEnum
      • quotaContext

        ServiceQuota.Builder quotaContext​(QuotaContextInfo quotaContext)

        The context for this service quota.

        Parameters:
        quotaContext - The context for this service quota.
        Returns:
        Returns a reference to this object so that method calls can be chained together.