@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<GroupNameAndArn> |
getBillingGroups()
The list of billing groups.
|
String |
getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setBillingGroups(Collection<GroupNameAndArn> billingGroups)
The list of billing groups.
|
void |
setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListBillingGroupsResult |
withBillingGroups(Collection<GroupNameAndArn> billingGroups)
The list of billing groups.
|
ListBillingGroupsResult |
withBillingGroups(GroupNameAndArn... billingGroups)
The list of billing groups.
|
ListBillingGroupsResult |
withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GroupNameAndArn> getBillingGroups()
The list of billing groups.
public void setBillingGroups(Collection<GroupNameAndArn> billingGroups)
The list of billing groups.
billingGroups
- The list of billing groups.public ListBillingGroupsResult withBillingGroups(GroupNameAndArn... billingGroups)
The list of billing groups.
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
- The list of billing groups.public ListBillingGroupsResult withBillingGroups(Collection<GroupNameAndArn> billingGroups)
The list of billing groups.
billingGroups
- The list of billing groups.public void setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListBillingGroupsResult withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListBillingGroupsResult clone()