@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServiceQuotaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetServiceQuotaRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetServiceQuotaRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContextId()
Specifies the Amazon Web Services account or resource to which the quota applies.
|
String |
getQuotaCode()
Specifies the quota identifier.
|
String |
getServiceCode()
Specifies the service identifier.
|
int |
hashCode() |
void |
setContextId(String contextId)
Specifies the Amazon Web Services account or resource to which the quota applies.
|
void |
setQuotaCode(String quotaCode)
Specifies the quota identifier.
|
void |
setServiceCode(String serviceCode)
Specifies the service identifier.
|
String |
toString()
Returns a string representation of this object.
|
GetServiceQuotaRequest |
withContextId(String contextId)
Specifies the Amazon Web Services account or resource to which the quota applies.
|
GetServiceQuotaRequest |
withQuotaCode(String quotaCode)
Specifies the quota identifier.
|
GetServiceQuotaRequest |
withServiceCode(String serviceCode)
Specifies the service identifier.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setServiceCode(String serviceCode)
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
serviceCode - Specifies the service identifier. To find the service code value for an Amazon Web Services service, use
the ListServices operation.public String getServiceCode()
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
public GetServiceQuotaRequest withServiceCode(String serviceCode)
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
serviceCode - Specifies the service identifier. To find the service code value for an Amazon Web Services service, use
the ListServices operation.public void setQuotaCode(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.
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.public String getQuotaCode()
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.
QuotaCode response in the output for
the quota you want.public GetServiceQuotaRequest withQuotaCode(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.
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.public void setContextId(String contextId)
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
contextId - Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field
depends on the context scope associated with the specified service quota.public String getContextId()
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
public GetServiceQuotaRequest withContextId(String contextId)
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
contextId - Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field
depends on the context scope associated with the specified service quota.public String toString()
toString in class ObjectObject.toString()public GetServiceQuotaRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()