@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBillingGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateBillingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateBillingGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
UpdateBillingGroupAccountGrouping |
getAccountGrouping()
Specifies if the billing group has automatic account association (
AutoAssociate ) enabled. |
String |
getArn()
The Amazon Resource Name (ARN) of the billing group being updated.
|
ComputationPreference |
getComputationPreference()
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
|
String |
getDescription()
A description of the billing group.
|
String |
getName()
The name of the billing group.
|
String |
getStatus()
The status of the billing group.
|
int |
hashCode() |
void |
setAccountGrouping(UpdateBillingGroupAccountGrouping accountGrouping)
Specifies if the billing group has automatic account association (
AutoAssociate ) enabled. |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the billing group being updated.
|
void |
setComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
|
void |
setDescription(String description)
A description of the billing group.
|
void |
setName(String name)
The name of the billing group.
|
void |
setStatus(String status)
The status of the billing group.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBillingGroupRequest |
withAccountGrouping(UpdateBillingGroupAccountGrouping accountGrouping)
Specifies if the billing group has automatic account association (
AutoAssociate ) enabled. |
UpdateBillingGroupRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the billing group being updated.
|
UpdateBillingGroupRequest |
withComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
|
UpdateBillingGroupRequest |
withDescription(String description)
A description of the billing group.
|
UpdateBillingGroupRequest |
withName(String name)
The name of the billing group.
|
UpdateBillingGroupRequest |
withStatus(BillingGroupStatus status)
The status of the billing group.
|
UpdateBillingGroupRequest |
withStatus(String status)
The status of the billing group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArn(String arn)
The Amazon Resource Name (ARN) of the billing group being updated.
arn
- The Amazon Resource Name (ARN) of the billing group being updated.public String getArn()
The Amazon Resource Name (ARN) of the billing group being updated.
public UpdateBillingGroupRequest withArn(String arn)
The Amazon Resource Name (ARN) of the billing group being updated.
arn
- The Amazon Resource Name (ARN) of the billing group being updated.public void setName(String name)
The name of the billing group. The names must be unique to each billing group.
name
- The name of the billing group. The names must be unique to each billing group.public String getName()
The name of the billing group. The names must be unique to each billing group.
public UpdateBillingGroupRequest withName(String name)
The name of the billing group. The names must be unique to each billing group.
name
- The name of the billing group. The names must be unique to each billing group.public void setStatus(String status)
The status of the billing group. Only one of the valid values can be used.
status
- The status of the billing group. Only one of the valid values can be used.BillingGroupStatus
public String getStatus()
The status of the billing group. Only one of the valid values can be used.
BillingGroupStatus
public UpdateBillingGroupRequest withStatus(String status)
The status of the billing group. Only one of the valid values can be used.
status
- The status of the billing group. Only one of the valid values can be used.BillingGroupStatus
public UpdateBillingGroupRequest withStatus(BillingGroupStatus status)
The status of the billing group. Only one of the valid values can be used.
status
- The status of the billing group. Only one of the valid values can be used.BillingGroupStatus
public void setComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
computationPreference
- The preferences and settings that will be used to compute the Amazon Web Services charges for a billing
group.public ComputationPreference getComputationPreference()
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
public UpdateBillingGroupRequest withComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
computationPreference
- The preferences and settings that will be used to compute the Amazon Web Services charges for a billing
group.public void setDescription(String description)
A description of the billing group.
description
- A description of the billing group.public String getDescription()
A description of the billing group.
public UpdateBillingGroupRequest withDescription(String description)
A description of the billing group.
description
- A description of the billing group.public void setAccountGrouping(UpdateBillingGroupAccountGrouping 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 UpdateBillingGroupAccountGrouping getAccountGrouping()
Specifies if the billing group has automatic account association (AutoAssociate
) enabled.
AutoAssociate
) enabled.public UpdateBillingGroupRequest withAccountGrouping(UpdateBillingGroupAccountGrouping 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 UpdateBillingGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()