Interface GetOrderResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetOrderResponse.Builder,GetOrderResponse>, OutpostsResponse.Builder, SdkBuilder<GetOrderResponse.Builder,GetOrderResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetOrderResponse

public static interface GetOrderResponse.Builder extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<GetOrderResponse.Builder,GetOrderResponse>
  • Method Details

    • order

      Sets the value of the Order property for this object.
      Parameters:
      order - The new value for the Order property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • order

      Sets the value of the Order property for this object. This is a convenience method that creates an instance of the Order.Builder avoiding the need to create one manually via Order.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to order(Order).

      Parameters:
      order - a consumer that will call methods on Order.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: