@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceId extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ServiceId() |
| Modifier and Type | Method and Description |
|---|---|
ServiceId |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
|
String |
getName()
|
List<String> |
getNames()
|
String |
getType()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
|
void |
setName(String name)
|
void |
setNames(Collection<String> names)
|
void |
setType(String type)
|
String |
toString()
Returns a string representation of this object.
|
ServiceId |
withAccountId(String accountId)
|
ServiceId |
withName(String name)
|
ServiceId |
withNames(Collection<String> names)
|
ServiceId |
withNames(String... names)
|
ServiceId |
withType(String type)
|
public void setName(String name)
name - public String getName()
public ServiceId withName(String name)
name - public void setNames(Collection<String> names)
names - public ServiceId withNames(String... names)
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection) or withNames(java.util.Collection) if you want to override the
existing values.
names - public ServiceId withNames(Collection<String> names)
names - public void setAccountId(String accountId)
accountId - public String getAccountId()
public ServiceId withAccountId(String accountId)
accountId - public void setType(String type)
type - public String getType()
public ServiceId withType(String type)
type - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.