Interface CreateFeatureResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFeatureResponse.Builder,
,CreateFeatureResponse> EvidentlyResponse.Builder
,SdkBuilder<CreateFeatureResponse.Builder,
,CreateFeatureResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFeatureResponse
public static interface CreateFeatureResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateFeatureResponse.Builder,CreateFeatureResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateFeatureResponse.Builder
feature
(Consumer<Feature.Builder> feature) A structure that contains information about the new feature.A structure that contains information about the new feature.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadata
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
-
feature
A structure that contains information about the new feature.
- Parameters:
feature
- A structure that contains information about the new feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feature
A structure that contains information about the new feature.
This is a convenience method that creates an instance of theFeature.Builder
avoiding the need to create one manually viaFeature.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeature(Feature)
.- Parameters:
feature
- a consumer that will call methods onFeature.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-