@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceCollection extends Object implements Serializable, Cloneable, StructuredPojo
A collection of the names of AWS 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 AWS 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 AWS 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 AWS service.
|
ServiceCollection |
withServiceNames(ServiceName... serviceNames)
An array of strings that each specifies the name of an AWS service.
|
ServiceCollection |
withServiceNames(String... serviceNames)
An array of strings that each specifies the name of an AWS service.
|
public List<String> getServiceNames()
An array of strings that each specifies the name of an AWS service.
ServiceNamepublic void setServiceNames(Collection<String> serviceNames)
An array of strings that each specifies the name of an AWS service.
serviceNames - An array of strings that each specifies the name of an AWS service.ServiceNamepublic ServiceCollection withServiceNames(String... serviceNames)
An array of strings that each specifies the name of an AWS 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 AWS service.ServiceNamepublic ServiceCollection withServiceNames(Collection<String> serviceNames)
An array of strings that each specifies the name of an AWS service.
serviceNames - An array of strings that each specifies the name of an AWS service.ServiceNamepublic ServiceCollection withServiceNames(ServiceName... serviceNames)
An array of strings that each specifies the name of an AWS service.
serviceNames - An array of strings that each specifies the name of an AWS 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.