@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BillingGroupListElement extends Object implements Serializable, Cloneable, StructuredPojo
A representation of a billing group.
| Constructor and Description |
|---|
BillingGroupListElement() |
| Modifier and Type | Method and Description |
|---|---|
BillingGroupListElement |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
|
ComputationPreference |
getComputationPreference() |
Long |
getCreationTime()
The time the billing group was created.
|
String |
getDescription()
The billing group description.
|
Long |
getLastModifiedTime()
The most recent time the billing group was modified.
|
String |
getName()
The billing group's name.
|
String |
getPrimaryAccountId()
The account ID that serves as the main account in a billing group.
|
Long |
getSize()
The number of accounts in the particular billing group.
|
String |
getStatus()
The billing group status.
|
String |
getStatusReason()
The reason why the billing group is in its current status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
|
void |
setComputationPreference(ComputationPreference computationPreference) |
void |
setCreationTime(Long creationTime)
The time the billing group was created.
|
void |
setDescription(String description)
The billing group description.
|
void |
setLastModifiedTime(Long lastModifiedTime)
The most recent time the billing group was modified.
|
void |
setName(String name)
The billing group's name.
|
void |
setPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
|
void |
setSize(Long size)
The number of accounts in the particular billing group.
|
void |
setStatus(String status)
The billing group status.
|
void |
setStatusReason(String statusReason)
The reason why the billing group is in its current status.
|
String |
toString()
Returns a string representation of this object.
|
BillingGroupListElement |
withArn(String arn)
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
|
BillingGroupListElement |
withComputationPreference(ComputationPreference computationPreference) |
BillingGroupListElement |
withCreationTime(Long creationTime)
The time the billing group was created.
|
BillingGroupListElement |
withDescription(String description)
The billing group description.
|
BillingGroupListElement |
withLastModifiedTime(Long lastModifiedTime)
The most recent time the billing group was modified.
|
BillingGroupListElement |
withName(String name)
The billing group's name.
|
BillingGroupListElement |
withPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
|
BillingGroupListElement |
withSize(Long size)
The number of accounts in the particular billing group.
|
BillingGroupListElement |
withStatus(BillingGroupStatus status)
The billing group status.
|
BillingGroupListElement |
withStatus(String status)
The billing group status.
|
BillingGroupListElement |
withStatusReason(String statusReason)
The reason why the billing group is in its current status.
|
public void setName(String name)
The billing group's name.
name - The billing group's name.public String getName()
The billing group's name.
public BillingGroupListElement withName(String name)
The billing group's name.
name - The billing group's name.public void setArn(String arn)
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
arn - The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.public String getArn()
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
public BillingGroupListElement withArn(String arn)
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
arn - The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.public void setDescription(String description)
The billing group description.
description - The billing group description.public String getDescription()
The billing group description.
public BillingGroupListElement withDescription(String description)
The billing group description.
description - The billing group description.public void setPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
primaryAccountId - The account ID that serves as the main account in a billing group.public String getPrimaryAccountId()
The account ID that serves as the main account in a billing group.
public BillingGroupListElement withPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
primaryAccountId - The account ID that serves as the main account in a billing group.public void setComputationPreference(ComputationPreference computationPreference)
computationPreference - public ComputationPreference getComputationPreference()
public BillingGroupListElement withComputationPreference(ComputationPreference computationPreference)
computationPreference - public void setSize(Long size)
The number of accounts in the particular billing group.
size - The number of accounts in the particular billing group.public Long getSize()
The number of accounts in the particular billing group.
public BillingGroupListElement withSize(Long size)
The number of accounts in the particular billing group.
size - The number of accounts in the particular billing group.public void setCreationTime(Long creationTime)
The time the billing group was created.
creationTime - The time the billing group was created.public Long getCreationTime()
The time the billing group was created.
public BillingGroupListElement withCreationTime(Long creationTime)
The time the billing group was created.
creationTime - The time the billing group was created.public void setLastModifiedTime(Long lastModifiedTime)
The most recent time the billing group was modified.
lastModifiedTime - The most recent time the billing group was modified.public Long getLastModifiedTime()
The most recent time the billing group was modified.
public BillingGroupListElement withLastModifiedTime(Long lastModifiedTime)
The most recent time the billing group was modified.
lastModifiedTime - The most recent time the billing group was modified.public void setStatus(String status)
The billing group status. Only one of the valid values can be used.
status - The billing group status. Only one of the valid values can be used.BillingGroupStatuspublic String getStatus()
The billing group status. Only one of the valid values can be used.
BillingGroupStatuspublic BillingGroupListElement withStatus(String status)
The billing group status. Only one of the valid values can be used.
status - The billing group status. Only one of the valid values can be used.BillingGroupStatuspublic BillingGroupListElement withStatus(BillingGroupStatus status)
The billing group status. Only one of the valid values can be used.
status - The billing group status. Only one of the valid values can be used.BillingGroupStatuspublic void setStatusReason(String statusReason)
The reason why the billing group is in its current status.
statusReason - The reason why the billing group is in its current status.public String getStatusReason()
The reason why the billing group is in its current status.
public BillingGroupListElement withStatusReason(String statusReason)
The reason why the billing group is in its current status.
statusReason - The reason why the billing group is in its current status.public String toString()
toString in class ObjectObject.toString()public BillingGroupListElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.