@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
The metadata for a service, such as the service code and available attribute names.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAttributeNames()
The attributes that are available for this service.
|
String |
getServiceCode()
The code for the Amazon Web Services service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeNames(Collection<String> attributeNames)
The attributes that are available for this service.
|
void |
setServiceCode(String serviceCode)
The code for the Amazon Web Services service.
|
String |
toString()
Returns a string representation of this object.
|
Service |
withAttributeNames(Collection<String> attributeNames)
The attributes that are available for this service.
|
Service |
withAttributeNames(String... attributeNames)
The attributes that are available for this service.
|
Service |
withServiceCode(String serviceCode)
The code for the Amazon Web Services service.
|
public void setServiceCode(String serviceCode)
The code for the Amazon Web Services service.
serviceCode
- The code for the Amazon Web Services service.public String getServiceCode()
The code for the Amazon Web Services service.
public Service withServiceCode(String serviceCode)
The code for the Amazon Web Services service.
serviceCode
- The code for the Amazon Web Services service.public List<String> getAttributeNames()
The attributes that are available for this service.
public void setAttributeNames(Collection<String> attributeNames)
The attributes that are available for this service.
attributeNames
- The attributes that are available for this service.public Service withAttributeNames(String... attributeNames)
The attributes that are available for this service.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeNames(java.util.Collection)
or withAttributeNames(java.util.Collection)
if you want
to override the existing values.
attributeNames
- The attributes that are available for this service.public Service withAttributeNames(Collection<String> attributeNames)
The attributes that are available for this service.
attributeNames
- The attributes that are available for this service.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.