Interface CreateComponentResponse.Builder
- All Superinterfaces:
AmplifyUiBuilderResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateComponentResponse.Builder,
,CreateComponentResponse> SdkBuilder<CreateComponentResponse.Builder,
,CreateComponentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateComponentResponse
@Mutable
@NotThreadSafe
public static interface CreateComponentResponse.Builder
extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<CreateComponentResponse.Builder,CreateComponentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateComponentResponse.Builder
entity
(Consumer<Component.Builder> entity) Describes the configuration of the new component.Describes the configuration of the new component.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
entity
Describes the configuration of the new component.
- Parameters:
entity
- Describes the configuration of the new component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentity(Component)
.- Parameters:
entity
- a consumer that will call methods onComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-