Interface UnpeerVpcResponse.Builder

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

public static interface UnpeerVpcResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<UnpeerVpcResponse.Builder,UnpeerVpcResponse>
  • Method Details

    • operation

      UnpeerVpcResponse.Builder operation(Operation operation)

      An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

      Parameters:
      operation - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operation

      default UnpeerVpcResponse.Builder operation(Consumer<Operation.Builder> operation)

      An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

      This is a convenience method that creates an instance of the Operation.Builder avoiding the need to create one manually via Operation.builder().

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

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