public static interface CreateComponentResponse.Builder extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<CreateComponentResponse.Builder,CreateComponentResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentResponse.Builder |
entity(Component entity)
Describes the configuration of the new component.
|
default CreateComponentResponse.Builder |
entity(Consumer<Component.Builder> entity)
Describes the configuration of the new component.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentResponse.Builder entity(Component entity)
Describes the configuration of the new component.
entity - Describes the configuration of the new component.default CreateComponentResponse.Builder entity(Consumer<Component.Builder> entity)
Describes the configuration of the new 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 entity(Component).
entity - a consumer that will call methods on Component.Builderentity(Component)Copyright © 2023. All rights reserved.