@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateResourcesToCustomLineItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchAssociateResourcesToCustomLineItemRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchAssociateResourcesToCustomLineItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CustomLineItemBillingPeriodRange |
getBillingPeriodRange() |
List<String> |
getResourceArns()
A list containing the ARNs of the resources to be associated.
|
String |
getTargetArn()
A percentage custom line item ARN to associate the resources to.
|
int |
hashCode() |
void |
setBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange) |
void |
setResourceArns(Collection<String> resourceArns)
A list containing the ARNs of the resources to be associated.
|
void |
setTargetArn(String targetArn)
A percentage custom line item ARN to associate the resources to.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateResourcesToCustomLineItemRequest |
withBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange) |
BatchAssociateResourcesToCustomLineItemRequest |
withResourceArns(Collection<String> resourceArns)
A list containing the ARNs of the resources to be associated.
|
BatchAssociateResourcesToCustomLineItemRequest |
withResourceArns(String... resourceArns)
A list containing the ARNs of the resources to be associated.
|
BatchAssociateResourcesToCustomLineItemRequest |
withTargetArn(String targetArn)
A percentage custom line item ARN to associate the resources to.
|
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, withSdkRequestTimeoutpublic BatchAssociateResourcesToCustomLineItemRequest()
public void setTargetArn(String targetArn)
A percentage custom line item ARN to associate the resources to.
targetArn - A percentage custom line item ARN to associate the resources to.public String getTargetArn()
A percentage custom line item ARN to associate the resources to.
public BatchAssociateResourcesToCustomLineItemRequest withTargetArn(String targetArn)
A percentage custom line item ARN to associate the resources to.
targetArn - A percentage custom line item ARN to associate the resources to.public List<String> getResourceArns()
A list containing the ARNs of the resources to be associated.
public void setResourceArns(Collection<String> resourceArns)
A list containing the ARNs of the resources to be associated.
resourceArns - A list containing the ARNs of the resources to be associated.public BatchAssociateResourcesToCustomLineItemRequest withResourceArns(String... resourceArns)
A list containing the ARNs of the resources to be associated.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection) or withResourceArns(java.util.Collection) if you want to
override the existing values.
resourceArns - A list containing the ARNs of the resources to be associated.public BatchAssociateResourcesToCustomLineItemRequest withResourceArns(Collection<String> resourceArns)
A list containing the ARNs of the resources to be associated.
resourceArns - A list containing the ARNs of the resources to be associated.public void setBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
billingPeriodRange - public CustomLineItemBillingPeriodRange getBillingPeriodRange()
public BatchAssociateResourcesToCustomLineItemRequest withBillingPeriodRange(CustomLineItemBillingPeriodRange billingPeriodRange)
billingPeriodRange - public String toString()
toString in class ObjectObject.toString()public BatchAssociateResourcesToCustomLineItemRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()