@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpenseGroupProperty extends Object implements Serializable, Cloneable, StructuredPojo
Shows the group that a certain key belongs to. This helps differentiate between names and addresses for different organizations, that can be hard to determine via JSON response.
| Constructor and Description |
|---|
ExpenseGroupProperty() |
| Modifier and Type | Method and Description |
|---|---|
ExpenseGroupProperty |
clone() |
boolean |
equals(Object obj) |
String |
getId()
Provides a group Id number, which will be the same for each in the group.
|
List<String> |
getTypes()
Informs you on whether the expense group is a name or an address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
Provides a group Id number, which will be the same for each in the group.
|
void |
setTypes(Collection<String> types)
Informs you on whether the expense group is a name or an address.
|
String |
toString()
Returns a string representation of this object.
|
ExpenseGroupProperty |
withId(String id)
Provides a group Id number, which will be the same for each in the group.
|
ExpenseGroupProperty |
withTypes(Collection<String> types)
Informs you on whether the expense group is a name or an address.
|
ExpenseGroupProperty |
withTypes(String... types)
Informs you on whether the expense group is a name or an address.
|
public List<String> getTypes()
Informs you on whether the expense group is a name or an address.
public void setTypes(Collection<String> types)
Informs you on whether the expense group is a name or an address.
types - Informs you on whether the expense group is a name or an address.public ExpenseGroupProperty withTypes(String... types)
Informs you on whether the expense group is a name or an address.
NOTE: This method appends the values to the existing list (if any). Use
setTypes(java.util.Collection) or withTypes(java.util.Collection) if you want to override the
existing values.
types - Informs you on whether the expense group is a name or an address.public ExpenseGroupProperty withTypes(Collection<String> types)
Informs you on whether the expense group is a name or an address.
types - Informs you on whether the expense group is a name or an address.public void setId(String id)
Provides a group Id number, which will be the same for each in the group.
id - Provides a group Id number, which will be the same for each in the group.public String getId()
Provides a group Id number, which will be the same for each in the group.
public ExpenseGroupProperty withId(String id)
Provides a group Id number, which will be the same for each in the group.
id - Provides a group Id number, which will be the same for each in the group.public String toString()
toString in class ObjectObject.toString()public ExpenseGroupProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.