@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountGrouping extends Object implements Serializable, Cloneable, StructuredPojo
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
Constructor and Description |
---|
AccountGrouping() |
Modifier and Type | Method and Description |
---|---|
AccountGrouping |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLinkedAccountIds()
The account IDs that make up the billing group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLinkedAccountIds(Collection<String> linkedAccountIds)
The account IDs that make up the billing group.
|
String |
toString()
Returns a string representation of this object.
|
AccountGrouping |
withLinkedAccountIds(Collection<String> linkedAccountIds)
The account IDs that make up the billing group.
|
AccountGrouping |
withLinkedAccountIds(String... linkedAccountIds)
The account IDs that make up the billing group.
|
public List<String> getLinkedAccountIds()
The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
public void setLinkedAccountIds(Collection<String> linkedAccountIds)
The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
linkedAccountIds
- The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing
family, and not associated with another billing group.public AccountGrouping withLinkedAccountIds(String... linkedAccountIds)
The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
NOTE: This method appends the values to the existing list (if any). Use
setLinkedAccountIds(java.util.Collection)
or withLinkedAccountIds(java.util.Collection)
if you
want to override the existing values.
linkedAccountIds
- The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing
family, and not associated with another billing group.public AccountGrouping withLinkedAccountIds(Collection<String> linkedAccountIds)
The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
linkedAccountIds
- The account IDs that make up the billing group. Account IDs must be a part of the consolidated billing
family, and not associated with another billing group.public String toString()
toString
in class Object
Object.toString()
public AccountGrouping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.