@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBillingGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBillingGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListBillingGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<BillingGroupListElement> |
getBillingGroups()
A list of
BillingGroupListElement retrieved. |
String |
getNextToken()
The pagination token that's used on subsequent calls to get billing groups.
|
int |
hashCode() |
void |
setBillingGroups(Collection<BillingGroupListElement> billingGroups)
A list of
BillingGroupListElement retrieved. |
void |
setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get billing groups.
|
String |
toString()
Returns a string representation of this object.
|
ListBillingGroupsResult |
withBillingGroups(BillingGroupListElement... billingGroups)
A list of
BillingGroupListElement retrieved. |
ListBillingGroupsResult |
withBillingGroups(Collection<BillingGroupListElement> billingGroups)
A list of
BillingGroupListElement retrieved. |
ListBillingGroupsResult |
withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get billing groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BillingGroupListElement> getBillingGroups()
A list of BillingGroupListElement
retrieved.
BillingGroupListElement
retrieved.public void setBillingGroups(Collection<BillingGroupListElement> billingGroups)
A list of BillingGroupListElement
retrieved.
billingGroups
- A list of BillingGroupListElement
retrieved.public ListBillingGroupsResult withBillingGroups(BillingGroupListElement... billingGroups)
A list of BillingGroupListElement
retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setBillingGroups(java.util.Collection)
or withBillingGroups(java.util.Collection)
if you want
to override the existing values.
billingGroups
- A list of BillingGroupListElement
retrieved.public ListBillingGroupsResult withBillingGroups(Collection<BillingGroupListElement> billingGroups)
A list of BillingGroupListElement
retrieved.
billingGroups
- A list of BillingGroupListElement
retrieved.public void setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get billing groups.
nextToken
- The pagination token that's used on subsequent calls to get billing groups.public String getNextToken()
The pagination token that's used on subsequent calls to get billing groups.
public ListBillingGroupsResult withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get billing groups.
nextToken
- The pagination token that's used on subsequent calls to get billing groups.public String toString()
toString
in class Object
Object.toString()
public ListBillingGroupsResult clone()