public static interface GetComponentResponse.Builder extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetComponentResponse.Builder,GetComponentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetComponentResponse.Builder |
component(Component component)
The component object associated with the specified ARN.
|
default GetComponentResponse.Builder |
component(Consumer<Component.Builder> component)
The component object associated with the specified ARN.
|
GetComponentResponse.Builder |
requestId(String requestIdValue)
The request ID that uniquely identifies this request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetComponentResponse.Builder requestId(String requestIdValue)
The request ID that uniquely identifies this request.
requestIdValue - The request ID that uniquely identifies this request.GetComponentResponse.Builder component(Component component)
The component object associated with the specified ARN.
component - The component object associated with the specified ARN.default GetComponentResponse.Builder component(Consumer<Component.Builder> component)
The component object associated with the specified ARN.
This is a convenience method that creates an instance of theComponent.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).component - a consumer that will call methods on Component.Buildercomponent(Component)Copyright © 2022. All rights reserved.