@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) |
ListBillingGroupAccountGrouping |
getAccountGrouping()
Specifies if the billing group has automatic account association (
AutoAssociate ) enabled. |
String |
getArn()
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
|
ComputationPreference |
getComputationPreference() |
Long |
getCreationTime()
The time when the billing group was created.
|
String |
getDescription()
The description of the billing group.
|
Long |
getLastModifiedTime()
The most recent time when the billing group was modified.
|
String |
getName()
The name of the billing group.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountGrouping(ListBillingGroupAccountGrouping accountGrouping)
Specifies if the billing group has automatic account association (
AutoAssociate ) enabled. |
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 when the billing group was created.
|
void |
setDescription(String description)
The description of the billing group.
|
void |
setLastModifiedTime(Long lastModifiedTime)
The most recent time when the billing group was modified.
|
void |
setName(String name)
The name of the billing group.
|
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 |
withAccountGrouping(ListBillingGroupAccountGrouping accountGrouping)
Specifies if the billing group has automatic account association (
AutoAssociate ) enabled. |
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 when the billing group was created.
|
BillingGroupListElement |
withDescription(String description)
The description of the billing group.
|
BillingGroupListElement |
withLastModifiedTime(Long lastModifiedTime)
The most recent time when the billing group was modified.
|
BillingGroupListElement |
withName(String name)
The name of the billing group.
|
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 name of the billing group.
name
- The name of the billing group.public String getName()
The name of the billing group.
public BillingGroupListElement withName(String name)
The name of the billing group.
name
- The name of the billing group.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 description of the billing group.
description
- The description of the billing group.public String getDescription()
The description of the billing group.
public BillingGroupListElement withDescription(String description)
The description of the billing group.
description
- The description of the billing group.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 when the billing group was created.
creationTime
- The time when the billing group was created.public Long getCreationTime()
The time when the billing group was created.
public BillingGroupListElement withCreationTime(Long creationTime)
The time when the billing group was created.
creationTime
- The time when the billing group was created.public void setLastModifiedTime(Long lastModifiedTime)
The most recent time when the billing group was modified.
lastModifiedTime
- The most recent time when the billing group was modified.public Long getLastModifiedTime()
The most recent time when the billing group was modified.
public BillingGroupListElement withLastModifiedTime(Long lastModifiedTime)
The most recent time when the billing group was modified.
lastModifiedTime
- The most recent time when 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.BillingGroupStatus
public String getStatus()
The billing group status. Only one of the valid values can be used.
BillingGroupStatus
public 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.BillingGroupStatus
public 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.BillingGroupStatus
public 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 void setAccountGrouping(ListBillingGroupAccountGrouping accountGrouping)
Specifies if the billing group has automatic account association (AutoAssociate
) enabled.
accountGrouping
- Specifies if the billing group has automatic account association (AutoAssociate
) enabled.public ListBillingGroupAccountGrouping getAccountGrouping()
Specifies if the billing group has automatic account association (AutoAssociate
) enabled.
AutoAssociate
) enabled.public BillingGroupListElement withAccountGrouping(ListBillingGroupAccountGrouping accountGrouping)
Specifies if the billing group has automatic account association (AutoAssociate
) enabled.
accountGrouping
- Specifies if the billing group has automatic account association (AutoAssociate
) enabled.public String toString()
toString
in class Object
Object.toString()
public BillingGroupListElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.