Interface UpdateComponentRequest.Builder
-
- All Superinterfaces:
AmplifyUiBuilderRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateComponentRequest.Builder,UpdateComponentRequest>,SdkBuilder<UpdateComponentRequest.Builder,UpdateComponentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateComponentRequest
public static interface UpdateComponentRequest.Builder extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<UpdateComponentRequest.Builder,UpdateComponentRequest>
-
-
Method Summary
-
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
UpdateComponentRequest.Builder appId(String appId)
The unique ID for the Amplify app.
- Parameters:
appId- The unique ID for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
UpdateComponentRequest.Builder environmentName(String environmentName)
The name of the backend environment that is part of the Amplify app.
- Parameters:
environmentName- The name of the backend environment that is part of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
UpdateComponentRequest.Builder id(String id)
The unique ID for the component.
- Parameters:
id- The unique ID for the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
UpdateComponentRequest.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.
-
updatedComponent
UpdateComponentRequest.Builder updatedComponent(UpdateComponentData updatedComponent)
The configuration of the updated component.
- Parameters:
updatedComponent- The configuration of the updated component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedComponent
default UpdateComponentRequest.Builder updatedComponent(Consumer<UpdateComponentData.Builder> updatedComponent)
The configuration of the updated component.
This is a convenience method that creates an instance of theUpdateComponentData.Builderavoiding the need to create one manually viaUpdateComponentData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdatedComponent(UpdateComponentData).- Parameters:
updatedComponent- a consumer that will call methods onUpdateComponentData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
updatedComponent(UpdateComponentData)
-
overrideConfiguration
UpdateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-