public static interface CreateComponentRequest.Builder extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateComponentRequest.Builder,CreateComponentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentRequest.Builder |
appId(String appId)
The unique ID of the Amplify app to associate with the component.
|
CreateComponentRequest.Builder |
clientToken(String clientToken)
The unique client token.
|
default CreateComponentRequest.Builder |
componentToCreate(Consumer<CreateComponentData.Builder> componentToCreate)
Represents the configuration of the component to create.
|
CreateComponentRequest.Builder |
componentToCreate(CreateComponentData componentToCreate)
Represents the configuration of the component to create.
|
CreateComponentRequest.Builder |
environmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
|
CreateComponentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateComponentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentRequest.Builder appId(String appId)
The unique ID of the Amplify app to associate with the component.
appId - The unique ID of the Amplify app to associate with the component.CreateComponentRequest.Builder clientToken(String clientToken)
The unique client token.
clientToken - The unique client token.CreateComponentRequest.Builder componentToCreate(CreateComponentData componentToCreate)
Represents the configuration of the component to create.
componentToCreate - Represents the configuration of the component to create.default CreateComponentRequest.Builder componentToCreate(Consumer<CreateComponentData.Builder> componentToCreate)
Represents the configuration of the component to create.
This is a convenience method that creates an instance of theCreateComponentData.Builder avoiding the
need to create one manually via CreateComponentData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to componentToCreate(CreateComponentData).
componentToCreate - a consumer that will call methods on CreateComponentData.BuildercomponentToCreate(CreateComponentData)CreateComponentRequest.Builder environmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
environmentName - The name of the backend environment that is a part of the Amplify app.CreateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.