Interface CreateComponentRequest.Builder
- All Superinterfaces:
- AmplifyUiBuilderRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateComponentRequest.Builder,,- CreateComponentRequest> - SdkBuilder<CreateComponentRequest.Builder,,- CreateComponentRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateComponentRequest
@Mutable
@NotThreadSafe
public static interface CreateComponentRequest.Builder
extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateComponentRequest.Builder,CreateComponentRequest> 
- 
Method SummaryModifier 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.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
appIdThe 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.
 
- 
environmentNameThe 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.
 
- 
clientTokenThe unique client token. - Parameters:
- clientToken- The unique client token.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
componentToCreateRepresents 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.
 
- 
componentToCreatedefault 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 on- CreateComponentData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-