@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 for the order.
|
String |
getPaymentTerm()
The payment terms for the order.
|
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 for the order.
|
void |
setPaymentTerm(String paymentTerm)
The payment terms for the order.
|
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 for the order.
|
CreateOrderRequest |
withPaymentOption(String paymentOption)
The payment option for the order.
|
CreateOrderRequest |
withPaymentTerm(PaymentTerm paymentTerm)
The payment terms for the order.
|
CreateOrderRequest |
withPaymentTerm(String paymentTerm)
The payment terms for the order.
|
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 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 for the order.
paymentOption
- The payment option for the order.PaymentOption
public String getPaymentOption()
The payment option for the order.
PaymentOption
public CreateOrderRequest withPaymentOption(String paymentOption)
The payment option for the order.
paymentOption
- The payment option for the order.PaymentOption
public CreateOrderRequest withPaymentOption(PaymentOption paymentOption)
The payment option for the order.
paymentOption
- The payment option for the order.PaymentOption
public void setPaymentTerm(String paymentTerm)
The payment terms for the order.
paymentTerm
- The payment terms for the order.PaymentTerm
public String getPaymentTerm()
The payment terms for the order.
PaymentTerm
public CreateOrderRequest withPaymentTerm(String paymentTerm)
The payment terms for the order.
paymentTerm
- The payment terms for the order.PaymentTerm
public CreateOrderRequest withPaymentTerm(PaymentTerm paymentTerm)
The payment terms for the order.
paymentTerm
- The payment terms for the order.PaymentTerm
public String toString()
toString
in class Object
Object.toString()
public CreateOrderRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()