Interface GetComponentResponse.Builder

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

public static interface GetComponentResponse.Builder extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetComponentResponse.Builder,GetComponentResponse>
  • Method Details

    • requestId

      GetComponentResponse.Builder requestId(String requestIdValue)

      The request ID that uniquely identifies this request.

      Parameters:
      requestIdValue - The request ID that uniquely identifies this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • component

      The component object associated with the specified ARN.

      Parameters:
      component - The component object associated with the specified ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • component

      The component object associated with the specified ARN.

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

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

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