@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.
ServiceName
public 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.ServiceName
public 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.ServiceName
public 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.ServiceName
public 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.ServiceName
public String toString()
toString
in class Object
Object.toString()
public ServiceCollection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.