@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOrderRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateOrderRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateOrderRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<LineItemRequest> |
getLineItems()
The line items that make up the order.
|
String |
getOutpostIdentifier()
The ID or the Amazon Resource Name (ARN) of the Outpost.
|
String |
getPaymentOption()
The payment option.
|
String |
getPaymentTerm()
The payment terms.
|
int |
hashCode() |
void |
setLineItems(Collection<LineItemRequest> lineItems)
The line items that make up the order.
|
void |
setOutpostIdentifier(String outpostIdentifier)
The ID or the Amazon Resource Name (ARN) of the Outpost.
|
void |
setPaymentOption(String paymentOption)
The payment option.
|
void |
setPaymentTerm(String paymentTerm)
The payment terms.
|
String |
toString()
Returns a string representation of this object.
|
CreateOrderRequest |
withLineItems(Collection<LineItemRequest> lineItems)
The line items that make up the order.
|
CreateOrderRequest |
withLineItems(LineItemRequest... lineItems)
The line items that make up the order.
|
CreateOrderRequest |
withOutpostIdentifier(String outpostIdentifier)
The ID or the Amazon Resource Name (ARN) of the Outpost.
|
CreateOrderRequest |
withPaymentOption(PaymentOption paymentOption)
The payment option.
|
CreateOrderRequest |
withPaymentOption(String paymentOption)
The payment option.
|
CreateOrderRequest |
withPaymentTerm(PaymentTerm paymentTerm)
The payment terms.
|
CreateOrderRequest |
withPaymentTerm(String paymentTerm)
The payment terms.
|
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 void setOutpostIdentifier(String outpostIdentifier)
The ID or the Amazon Resource Name (ARN) of the Outpost.
outpostIdentifier - The ID or the Amazon Resource Name (ARN) of the Outpost.public String getOutpostIdentifier()
The ID or the Amazon Resource Name (ARN) of the Outpost.
public CreateOrderRequest withOutpostIdentifier(String outpostIdentifier)
The ID or the Amazon Resource Name (ARN) of the Outpost.
outpostIdentifier - The ID or the Amazon Resource Name (ARN) of the Outpost.public List<LineItemRequest> getLineItems()
The line items that make up the order.
public void setLineItems(Collection<LineItemRequest> lineItems)
The line items that make up the order.
lineItems - The line items that make up the order.public CreateOrderRequest withLineItems(LineItemRequest... lineItems)
The line items that make up the order.
NOTE: This method appends the values to the existing list (if any). Use
setLineItems(java.util.Collection) or withLineItems(java.util.Collection) if you want to
override the existing values.
lineItems - The line items that make up the order.public CreateOrderRequest withLineItems(Collection<LineItemRequest> lineItems)
The line items that make up the order.
lineItems - The line items that make up the order.public void setPaymentOption(String paymentOption)
The payment option.
paymentOption - The payment option.PaymentOptionpublic String getPaymentOption()
The payment option.
PaymentOptionpublic CreateOrderRequest withPaymentOption(String paymentOption)
The payment option.
paymentOption - The payment option.PaymentOptionpublic CreateOrderRequest withPaymentOption(PaymentOption paymentOption)
The payment option.
paymentOption - The payment option.PaymentOptionpublic void setPaymentTerm(String paymentTerm)
The payment terms.
paymentTerm - The payment terms.PaymentTermpublic String getPaymentTerm()
The payment terms.
PaymentTermpublic CreateOrderRequest withPaymentTerm(String paymentTerm)
The payment terms.
paymentTerm - The payment terms.PaymentTermpublic CreateOrderRequest withPaymentTerm(PaymentTerm paymentTerm)
The payment terms.
paymentTerm - The payment terms.PaymentTermpublic String toString()
toString in class ObjectObject.toString()public CreateOrderRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()