public class UpdateBillingGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates information about the billing group.
Constructor and Description |
---|
UpdateBillingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBillingGroupName()
The name of the billing group.
|
BillingGroupProperties |
getBillingGroupProperties()
The properties of the billing group.
|
java.lang.Long |
getExpectedVersion()
The expected version of the billing group.
|
int |
hashCode() |
void |
setBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
|
void |
setBillingGroupProperties(BillingGroupProperties billingGroupProperties)
The properties of the billing group.
|
void |
setExpectedVersion(java.lang.Long expectedVersion)
The expected version of the billing group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateBillingGroupRequest |
withBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
|
UpdateBillingGroupRequest |
withBillingGroupProperties(BillingGroupProperties billingGroupProperties)
The properties of the billing group.
|
UpdateBillingGroupRequest |
withExpectedVersion(java.lang.Long expectedVersion)
The expected version of the billing group.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getBillingGroupName()
The name of the billing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the billing group.
public void setBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
billingGroupName
- The name of the billing group.
public UpdateBillingGroupRequest withBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
billingGroupName
- The name of the billing group.
public BillingGroupProperties getBillingGroupProperties()
The properties of the billing group.
The properties of the billing group.
public void setBillingGroupProperties(BillingGroupProperties billingGroupProperties)
The properties of the billing group.
billingGroupProperties
- The properties of the billing group.
public UpdateBillingGroupRequest withBillingGroupProperties(BillingGroupProperties billingGroupProperties)
The properties of the billing group.
Returns a reference to this object so that method calls can be chained together.
billingGroupProperties
- The properties of the billing group.
public java.lang.Long getExpectedVersion()
The expected version of the billing group. If the version of the billing
group does not match the expected version specified in the request, the
UpdateBillingGroup
request is rejected with a
VersionConflictException
.
The expected version of the billing group. If the version of the
billing group does not match the expected version specified in
the request, the UpdateBillingGroup
request is
rejected with a VersionConflictException
.
public void setExpectedVersion(java.lang.Long expectedVersion)
The expected version of the billing group. If the version of the billing
group does not match the expected version specified in the request, the
UpdateBillingGroup
request is rejected with a
VersionConflictException
.
expectedVersion
-
The expected version of the billing group. If the version of
the billing group does not match the expected version
specified in the request, the UpdateBillingGroup
request is rejected with a
VersionConflictException
.
public UpdateBillingGroupRequest withExpectedVersion(java.lang.Long expectedVersion)
The expected version of the billing group. If the version of the billing
group does not match the expected version specified in the request, the
UpdateBillingGroup
request is rejected with a
VersionConflictException
.
Returns a reference to this object so that method calls can be chained together.
expectedVersion
-
The expected version of the billing group. If the version of
the billing group does not match the expected version
specified in the request, the UpdateBillingGroup
request is rejected with a
VersionConflictException
.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.