Interface CreateThemeRequest.Builder
- All Superinterfaces:
AmplifyUiBuilderRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateThemeRequest.Builder,
,CreateThemeRequest> SdkBuilder<CreateThemeRequest.Builder,
,CreateThemeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateThemeRequest
public static interface CreateThemeRequest.Builder
extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateThemeRequest.Builder,CreateThemeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the Amplify app associated with the theme.clientToken
(String clientToken) The unique client token.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.default CreateThemeRequest.Builder
themeToCreate
(Consumer<CreateThemeData.Builder> themeToCreate) Represents the configuration of the theme to create.themeToCreate
(CreateThemeData themeToCreate) Represents the configuration of the theme to create.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, sdkFields
-
Method Details
-
appId
The unique ID of the Amplify app associated with the theme.
- Parameters:
appId
- The unique ID of the Amplify app associated with the theme.- 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.
-
themeToCreate
Represents the configuration of the theme to create.
- Parameters:
themeToCreate
- Represents the configuration of the theme to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeToCreate
Represents the configuration of the theme to create.
This is a convenience method that creates an instance of theCreateThemeData.Builder
avoiding the need to create one manually viaCreateThemeData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothemeToCreate(CreateThemeData)
.- Parameters:
themeToCreate
- a consumer that will call methods onCreateThemeData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateThemeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateThemeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-