Interface CreateComponentRequest.Builder
- All Superinterfaces:
AmplifyUiBuilderRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateComponentRequest.Builder,,CreateComponentRequest> SdkBuilder<CreateComponentRequest.Builder,,CreateComponentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateComponentRequest
public static interface CreateComponentRequest.Builder
extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateComponentRequest.Builder,CreateComponentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the Amplify app to associate with the component.clientToken(String clientToken) The unique client token.default CreateComponentRequest.BuildercomponentToCreate(Consumer<CreateComponentData.Builder> componentToCreate) Represents the configuration of the component to create.componentToCreate(CreateComponentData componentToCreate) Represents the configuration of the component to create.environmentName(String environmentName) The name of the backend environment that is a part of the Amplify app.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
appId
The unique ID of the Amplify app to associate with the component.
- Parameters:
appId- The unique ID of the Amplify app to associate with the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the backend environment that is a part of the Amplify app.
- Parameters:
environmentName- The name of the backend environment that is a part of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The unique client token.
- Parameters:
clientToken- The unique client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentToCreate
Represents the configuration of the component to create.
- Parameters:
componentToCreate- Represents the configuration of the component to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentToCreate
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.Builderavoiding the need to create one manually viaCreateComponentData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponentToCreate(CreateComponentData).- Parameters:
componentToCreate- a consumer that will call methods onCreateComponentData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-