@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCustomLineItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCustomLineItemRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCustomLineItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the custom line item to be updated.
|
CustomLineItemBillingPeriodRange |
getBillingPeriodRange() |
UpdateCustomLineItemChargeDetails |
getChargeDetails()
A
ListCustomLineItemChargeDetails containing the new charge details for the custom line item. |
String |
getDescription()
The new line item description of the custom line item.
|
String |
getName()
The new name for the custom line item.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the custom line item to be updated.
|
void |
setBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange) |
void |
setChargeDetails(UpdateCustomLineItemChargeDetails chargeDetails)
A
ListCustomLineItemChargeDetails containing the new charge details for the custom line item. |
void |
setDescription(String description)
The new line item description of the custom line item.
|
void |
setName(String name)
The new name for the custom line item.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCustomLineItemRequest |
withArn(String arn)
The ARN of the custom line item to be updated.
|
UpdateCustomLineItemRequest |
withBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange) |
UpdateCustomLineItemRequest |
withChargeDetails(UpdateCustomLineItemChargeDetails chargeDetails)
A
ListCustomLineItemChargeDetails containing the new charge details for the custom line item. |
UpdateCustomLineItemRequest |
withDescription(String description)
The new line item description of the custom line item.
|
UpdateCustomLineItemRequest |
withName(String name)
The new name for the custom line item.
|
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 ARN of the custom line item to be updated.
arn
- The ARN of the custom line item to be updated.public String getArn()
The ARN of the custom line item to be updated.
public UpdateCustomLineItemRequest withArn(String arn)
The ARN of the custom line item to be updated.
arn
- The ARN of the custom line item to be updated.public void setName(String name)
The new name for the custom line item.
name
- The new name for the custom line item.public String getName()
The new name for the custom line item.
public UpdateCustomLineItemRequest withName(String name)
The new name for the custom line item.
name
- The new name for the custom line item.public void setDescription(String description)
The new line item description of the custom line item.
description
- The new line item description of the custom line item.public String getDescription()
The new line item description of the custom line item.
public UpdateCustomLineItemRequest withDescription(String description)
The new line item description of the custom line item.
description
- The new line item description of the custom line item.public void setChargeDetails(UpdateCustomLineItemChargeDetails chargeDetails)
A ListCustomLineItemChargeDetails
containing the new charge details for the custom line item.
chargeDetails
- A ListCustomLineItemChargeDetails
containing the new charge details for the custom line item.public UpdateCustomLineItemChargeDetails getChargeDetails()
A ListCustomLineItemChargeDetails
containing the new charge details for the custom line item.
ListCustomLineItemChargeDetails
containing the new charge details for the custom line
item.public UpdateCustomLineItemRequest withChargeDetails(UpdateCustomLineItemChargeDetails chargeDetails)
A ListCustomLineItemChargeDetails
containing the new charge details for the custom line item.
chargeDetails
- A ListCustomLineItemChargeDetails
containing the new charge details for the custom line item.public void setBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
billingPeriodRange
- public CustomLineItemBillingPeriodRange getBillingPeriodRange()
public UpdateCustomLineItemRequest withBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
billingPeriodRange
- public String toString()
toString
in class Object
Object.toString()
public UpdateCustomLineItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()