@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceInfo extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the ServiceName
and ServiceCode
. It does not include all details
of the service quota. To get those values, use the ListServiceQuotas operation.
Constructor and Description |
---|
ServiceInfo() |
Modifier and Type | Method and Description |
---|---|
ServiceInfo |
clone() |
boolean |
equals(Object obj) |
String |
getServiceCode()
Specifies the service that you want to use.
|
String |
getServiceName()
The name of the AWS service specified in the increase request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
String |
toString()
Returns a string representation of this object.
|
ServiceInfo |
withServiceCode(String serviceCode)
Specifies the service that you want to use.
|
ServiceInfo |
withServiceName(String serviceName)
The name of the AWS service specified in the increase request.
|
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 ServiceInfo 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 ServiceInfo 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 String toString()
toString
in class Object
Object.toString()
public ServiceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.