Interface CreateThemeResponse.Builder
- All Superinterfaces:
AmplifyUiBuilderResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateThemeResponse.Builder,
,CreateThemeResponse> SdkBuilder<CreateThemeResponse.Builder,
,CreateThemeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateThemeResponse
public static interface CreateThemeResponse.Builder
extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<CreateThemeResponse.Builder,CreateThemeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateThemeResponse.Builder
entity
(Consumer<Theme.Builder> entity) Describes the configuration of the new theme.Describes the configuration of the new theme.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
entity
Describes the configuration of the new theme.
- Parameters:
entity
- Describes the configuration of the new theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entity
Describes the configuration of the new theme.
This is a convenience method that creates an instance of theTheme.Builder
avoiding the need to create one manually viaTheme.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentity(Theme)
.- Parameters:
entity
- a consumer that will call methods onTheme.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-