public static interface CreateComponentResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<CreateComponentResponse.Builder,CreateComponentResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentResponse.Builder |
component(Component component)
The detailed data of the created component.
|
default CreateComponentResponse.Builder |
component(Consumer<Component.Builder> component)
The detailed data of the created component.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentResponse.Builder component(Component component)
The detailed data of the created component.
component - The detailed data of the created component.default CreateComponentResponse.Builder component(Consumer<Component.Builder> component)
The detailed data of the created 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.