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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateComponentRequest.BuilderappId(String appId)The unique ID of the Amplify app to associate with the component.CreateComponentRequest.BuilderclientToken(String clientToken)The unique client token.default CreateComponentRequest.BuildercomponentToCreate(Consumer<CreateComponentData.Builder> componentToCreate)Represents the configuration of the component to create.CreateComponentRequest.BuildercomponentToCreate(CreateComponentData componentToCreate)Represents the configuration of the component to create.CreateComponentRequest.BuilderenvironmentName(String environmentName)The name of the backend environment that is a part of the Amplify app.CreateComponentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateComponentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
-
-
-
Method Detail
-
appId
CreateComponentRequest.Builder appId(String 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
CreateComponentRequest.Builder environmentName(String 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
CreateComponentRequest.Builder clientToken(String 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
CreateComponentRequest.Builder componentToCreate(CreateComponentData 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:
componentToCreate(CreateComponentData)
-
overrideConfiguration
CreateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-