@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceCollection extends Object implements Serializable, Cloneable, StructuredPojo
A collection of the names of Amazon Web Services services.
| Constructor and Description |
|---|
ServiceCollection() |
| Modifier and Type | Method and Description |
|---|---|
ServiceCollection |
clone() |
boolean |
equals(Object obj) |
List<String> |
getServiceNames()
An array of strings that each specifies the name of an Amazon Web Services service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setServiceNames(Collection<String> serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceCollection |
withServiceNames(Collection<String> serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
|
ServiceCollection |
withServiceNames(ServiceName... serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
|
ServiceCollection |
withServiceNames(String... serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
|
public List<String> getServiceNames()
An array of strings that each specifies the name of an Amazon Web Services service.
ServiceNamepublic void setServiceNames(Collection<String> serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
serviceNames - An array of strings that each specifies the name of an Amazon Web Services service.ServiceNamepublic ServiceCollection withServiceNames(String... serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
NOTE: This method appends the values to the existing list (if any). Use
setServiceNames(java.util.Collection) or withServiceNames(java.util.Collection) if you want to
override the existing values.
serviceNames - An array of strings that each specifies the name of an Amazon Web Services service.ServiceNamepublic ServiceCollection withServiceNames(Collection<String> serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
serviceNames - An array of strings that each specifies the name of an Amazon Web Services service.ServiceNamepublic ServiceCollection withServiceNames(ServiceName... serviceNames)
An array of strings that each specifies the name of an Amazon Web Services service.
serviceNames - An array of strings that each specifies the name of an Amazon Web Services service.ServiceNamepublic String toString()
toString in class ObjectObject.toString()public ServiceCollection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.