@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCustomLineItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCustomLineItemRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCustomLineItemRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateCustomLineItemRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateCustomLineItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account in which this custom line item will be applied to.
|
String |
getBillingGroupArn()
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
CustomLineItemBillingPeriodRange |
getBillingPeriodRange()
A time range for which the custom line item is effective.
|
CustomLineItemChargeDetails |
getChargeDetails()
A
CustomLineItemChargeDetails that describes the charge details for a custom line item. |
String |
getClientToken()
The token that is needed to support idempotency.
|
String |
getDescription()
The description of the custom line item.
|
String |
getName()
The name of the custom line item.
|
Map<String,String> |
getTags()
A map that contains tag keys and tag values that are attached to a custom line item.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
|
void |
setBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
void |
setBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
A time range for which the custom line item is effective.
|
void |
setChargeDetails(CustomLineItemChargeDetails chargeDetails)
A
CustomLineItemChargeDetails that describes the charge details for a custom line item. |
void |
setClientToken(String clientToken)
The token that is needed to support idempotency.
|
void |
setDescription(String description)
The description of the custom line item.
|
void |
setName(String name)
The name of the custom line item.
|
void |
setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a custom line item.
|
String |
toString()
Returns a string representation of this object.
|
CreateCustomLineItemRequest |
withAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
|
CreateCustomLineItemRequest |
withBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
CreateCustomLineItemRequest |
withBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
A time range for which the custom line item is effective.
|
CreateCustomLineItemRequest |
withChargeDetails(CustomLineItemChargeDetails chargeDetails)
A
CustomLineItemChargeDetails that describes the charge details for a custom line item. |
CreateCustomLineItemRequest |
withClientToken(String clientToken)
The token that is needed to support idempotency.
|
CreateCustomLineItemRequest |
withDescription(String description)
The description of the custom line item.
|
CreateCustomLineItemRequest |
withName(String name)
The name of the custom line item.
|
CreateCustomLineItemRequest |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a 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 setClientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken
- The token that is needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.public String getClientToken()
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
public CreateCustomLineItemRequest withClientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken
- The token that is needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.public void setName(String name)
The name of the custom line item.
name
- The name of the custom line item.public String getName()
The name of the custom line item.
public CreateCustomLineItemRequest withName(String name)
The name of the custom line item.
name
- The name of the custom line item.public void setDescription(String description)
The description of the custom line item. This is shown on the Bills page in association with the charge value.
description
- The description of the custom line item. This is shown on the Bills page in association with the charge
value.public String getDescription()
The description of the custom line item. This is shown on the Bills page in association with the charge value.
public CreateCustomLineItemRequest withDescription(String description)
The description of the custom line item. This is shown on the Bills page in association with the charge value.
description
- The description of the custom line item. This is shown on the Bills page in association with the charge
value.public void setBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
billingGroupArn
- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.public String getBillingGroupArn()
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
public CreateCustomLineItemRequest withBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
billingGroupArn
- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.public void setBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
A time range for which the custom line item is effective.
billingPeriodRange
- A time range for which the custom line item is effective.public CustomLineItemBillingPeriodRange getBillingPeriodRange()
A time range for which the custom line item is effective.
public CreateCustomLineItemRequest withBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
A time range for which the custom line item is effective.
billingPeriodRange
- A time range for which the custom line item is effective.public Map<String,String> getTags()
A map that contains tag keys and tag values that are attached to a custom line item.
public void setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a custom line item.
tags
- A map that contains tag keys and tag values that are attached to a custom line item.public CreateCustomLineItemRequest withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a custom line item.
tags
- A map that contains tag keys and tag values that are attached to a custom line item.public CreateCustomLineItemRequest addTagsEntry(String key, String value)
public CreateCustomLineItemRequest clearTagsEntries()
public void setChargeDetails(CustomLineItemChargeDetails chargeDetails)
A CustomLineItemChargeDetails
that describes the charge details for a custom line item.
chargeDetails
- A CustomLineItemChargeDetails
that describes the charge details for a custom line item.public CustomLineItemChargeDetails getChargeDetails()
A CustomLineItemChargeDetails
that describes the charge details for a custom line item.
CustomLineItemChargeDetails
that describes the charge details for a custom line item.public CreateCustomLineItemRequest withChargeDetails(CustomLineItemChargeDetails chargeDetails)
A CustomLineItemChargeDetails
that describes the charge details for a custom line item.
chargeDetails
- A CustomLineItemChargeDetails
that describes the charge details for a custom line item.public void setAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
accountId
- The Amazon Web Services account in which this custom line item will be applied to.public String getAccountId()
The Amazon Web Services account in which this custom line item will be applied to.
public CreateCustomLineItemRequest withAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
accountId
- The Amazon Web Services account in which this custom line item will be applied to.public String toString()
toString
in class Object
Object.toString()
public CreateCustomLineItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()