@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about a service.
Constructor and Description |
---|
ServiceInfo() |
Modifier and Type | Method and Description |
---|---|
ServiceInfo |
clone() |
boolean |
equals(Object obj) |
String |
getServiceCode()
The service identifier.
|
String |
getServiceName()
The service name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServiceCode(String serviceCode)
The service identifier.
|
void |
setServiceName(String serviceName)
The service name.
|
String |
toString()
Returns a string representation of this object.
|
ServiceInfo |
withServiceCode(String serviceCode)
The service identifier.
|
ServiceInfo |
withServiceName(String serviceName)
The service name.
|
public void setServiceCode(String serviceCode)
The service identifier.
serviceCode
- The service identifier.public String getServiceCode()
The service identifier.
public ServiceInfo withServiceCode(String serviceCode)
The service identifier.
serviceCode
- The service identifier.public void setServiceName(String serviceName)
The service name.
serviceName
- The service name.public String getServiceName()
The service name.
public ServiceInfo withServiceName(String serviceName)
The service name.
serviceName
- The service name.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.