public static interface GetComponentResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<GetComponentResponse.Builder,GetComponentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetComponentResponse.Builder |
component(Component component)
The detailed data of the requested component.
|
default GetComponentResponse.Builder |
component(Consumer<Component.Builder> component)
The detailed data of the requested component.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetComponentResponse.Builder component(Component component)
The detailed data of the requested component.
component - The detailed data of the requested component.default GetComponentResponse.Builder component(Consumer<Component.Builder> component)
The detailed data of the requested component.
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 © 2023. All rights reserved.