@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuota extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the full set of details that define the service quota.
Constructor and Description |
---|
ServiceQuota() |
Modifier and Type | Method and Description |
---|---|
ServiceQuota |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAdjustable()
Specifies if the quota value can be increased.
|
ErrorReason |
getErrorReason()
Specifies the
ErrorCode and ErrorMessage when success isn't achieved. |
Boolean |
getGlobalQuota()
Specifies if the quota is global.
|
QuotaPeriod |
getPeriod()
Identifies the unit and value of how time is measured.
|
String |
getQuotaArn()
The Amazon Resource Name (ARN) of the service quota.
|
String |
getQuotaCode()
The code identifier for the service quota specified.
|
String |
getQuotaName()
The name identifier of the service quota.
|
String |
getServiceCode()
Specifies the service that you want to use.
|
String |
getServiceName()
The name of the AWS service specified in the increase request.
|
String |
getUnit()
The unit of measurement for the value of the service quota.
|
MetricInfo |
getUsageMetric()
Specifies the details about the measurement.
|
Double |
getValue()
The value of service quota.
|
int |
hashCode() |
Boolean |
isAdjustable()
Specifies if the quota value can be increased.
|
Boolean |
isGlobalQuota()
Specifies if the quota is global.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdjustable(Boolean adjustable)
Specifies if the quota value can be increased.
|
void |
setErrorReason(ErrorReason errorReason)
Specifies the
ErrorCode and ErrorMessage when success isn't achieved. |
void |
setGlobalQuota(Boolean globalQuota)
Specifies if the quota is global.
|
void |
setPeriod(QuotaPeriod period)
Identifies the unit and value of how time is measured.
|
void |
setQuotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the service quota.
|
void |
setQuotaCode(String quotaCode)
The code identifier for the service quota specified.
|
void |
setQuotaName(String quotaName)
The name identifier of the service quota.
|
void |
setServiceCode(String serviceCode)
Specifies the service that you want to use.
|
void |
setServiceName(String serviceName)
The name of the AWS service specified in the increase request.
|
void |
setUnit(String unit)
The unit of measurement for the value of the service quota.
|
void |
setUsageMetric(MetricInfo usageMetric)
Specifies the details about the measurement.
|
void |
setValue(Double value)
The value of service quota.
|
String |
toString()
Returns a string representation of this object.
|
ServiceQuota |
withAdjustable(Boolean adjustable)
Specifies if the quota value can be increased.
|
ServiceQuota |
withErrorReason(ErrorReason errorReason)
Specifies the
ErrorCode and ErrorMessage when success isn't achieved. |
ServiceQuota |
withGlobalQuota(Boolean globalQuota)
Specifies if the quota is global.
|
ServiceQuota |
withPeriod(QuotaPeriod period)
Identifies the unit and value of how time is measured.
|
ServiceQuota |
withQuotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the service quota.
|
ServiceQuota |
withQuotaCode(String quotaCode)
The code identifier for the service quota specified.
|
ServiceQuota |
withQuotaName(String quotaName)
The name identifier of the service quota.
|
ServiceQuota |
withServiceCode(String serviceCode)
Specifies the service that you want to use.
|
ServiceQuota |
withServiceName(String serviceName)
The name of the AWS service specified in the increase request.
|
ServiceQuota |
withUnit(String unit)
The unit of measurement for the value of the service quota.
|
ServiceQuota |
withUsageMetric(MetricInfo usageMetric)
Specifies the details about the measurement.
|
ServiceQuota |
withValue(Double value)
The value of service quota.
|
public void setServiceCode(String serviceCode)
Specifies the service that you want to use.
serviceCode
- Specifies the service that you want to use.public String getServiceCode()
Specifies the service that you want to use.
public ServiceQuota withServiceCode(String serviceCode)
Specifies the service that you want to use.
serviceCode
- Specifies the service that you want to use.public void setServiceName(String serviceName)
The name of the AWS service specified in the increase request.
serviceName
- The name of the AWS service specified in the increase request.public String getServiceName()
The name of the AWS service specified in the increase request.
public ServiceQuota withServiceName(String serviceName)
The name of the AWS service specified in the increase request.
serviceName
- The name of the AWS service specified in the increase request.public void setQuotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the service quota.
quotaArn
- The Amazon Resource Name (ARN) of the service quota.public String getQuotaArn()
The Amazon Resource Name (ARN) of the service quota.
public ServiceQuota withQuotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the service quota.
quotaArn
- The Amazon Resource Name (ARN) of the service quota.public void setQuotaCode(String quotaCode)
The code identifier for the service quota specified.
quotaCode
- The code identifier for the service quota specified.public String getQuotaCode()
The code identifier for the service quota specified.
public ServiceQuota withQuotaCode(String quotaCode)
The code identifier for the service quota specified.
quotaCode
- The code identifier for the service quota specified.public void setQuotaName(String quotaName)
The name identifier of the service quota.
quotaName
- The name identifier of the service quota.public String getQuotaName()
The name identifier of the service quota.
public ServiceQuota withQuotaName(String quotaName)
The name identifier of the service quota.
quotaName
- The name identifier of the service quota.public void setValue(Double value)
The value of service quota.
value
- The value of service quota.public Double getValue()
The value of service quota.
public ServiceQuota withValue(Double value)
The value of service quota.
value
- The value of service quota.public void setUnit(String unit)
The unit of measurement for the value of the service quota.
unit
- The unit of measurement for the value of the service quota.public String getUnit()
The unit of measurement for the value of the service quota.
public ServiceQuota withUnit(String unit)
The unit of measurement for the value of the service quota.
unit
- The unit of measurement for the value of the service quota.public void setAdjustable(Boolean adjustable)
Specifies if the quota value can be increased.
adjustable
- Specifies if the quota value can be increased.public Boolean getAdjustable()
Specifies if the quota value can be increased.
public ServiceQuota withAdjustable(Boolean adjustable)
Specifies if the quota value can be increased.
adjustable
- Specifies if the quota value can be increased.public Boolean isAdjustable()
Specifies if the quota value can be increased.
public void setGlobalQuota(Boolean globalQuota)
Specifies if the quota is global.
globalQuota
- Specifies if the quota is global.public Boolean getGlobalQuota()
Specifies if the quota is global.
public ServiceQuota withGlobalQuota(Boolean globalQuota)
Specifies if the quota is global.
globalQuota
- Specifies if the quota is global.public Boolean isGlobalQuota()
Specifies if the quota is global.
public void setUsageMetric(MetricInfo usageMetric)
Specifies the details about the measurement.
usageMetric
- Specifies the details about the measurement.public MetricInfo getUsageMetric()
Specifies the details about the measurement.
public ServiceQuota withUsageMetric(MetricInfo usageMetric)
Specifies the details about the measurement.
usageMetric
- Specifies the details about the measurement.public void setPeriod(QuotaPeriod period)
Identifies the unit and value of how time is measured.
period
- Identifies the unit and value of how time is measured.public QuotaPeriod getPeriod()
Identifies the unit and value of how time is measured.
public ServiceQuota withPeriod(QuotaPeriod period)
Identifies the unit and value of how time is measured.
period
- Identifies the unit and value of how time is measured.public void setErrorReason(ErrorReason errorReason)
Specifies the ErrorCode
and ErrorMessage
when success isn't achieved.
errorReason
- Specifies the ErrorCode
and ErrorMessage
when success isn't achieved.public ErrorReason getErrorReason()
Specifies the ErrorCode
and ErrorMessage
when success isn't achieved.
ErrorCode
and ErrorMessage
when success isn't achieved.public ServiceQuota withErrorReason(ErrorReason errorReason)
Specifies the ErrorCode
and ErrorMessage
when success isn't achieved.
errorReason
- Specifies the ErrorCode
and ErrorMessage
when success isn't achieved.public String toString()
toString
in class Object
Object.toString()
public ServiceQuota clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.