@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; useful for testing and debugging.
|
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.