Interface CreateFeedRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFeedRequest.Builder,,CreateFeedRequest> ElementalInferenceRequest.Builder,SdkBuilder<CreateFeedRequest.Builder,,CreateFeedRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFeedRequest
@Mutable
@NotThreadSafe
public static interface CreateFeedRequest.Builder
extends ElementalInferenceRequest.Builder, SdkPojo, CopyableBuilder<CreateFeedRequest.Builder,CreateFeedRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA name for this feed.outputs(Collection<CreateOutput> outputs) An array of outputs for this feed.outputs(Consumer<CreateOutput.Builder>... outputs) An array of outputs for this feed.outputs(CreateOutput... outputs) An array of outputs for this feed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.If you want to include tags, add them now.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A name for this feed.
- Parameters:
name- A name for this feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature.
- Parameters:
outputs- An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature.
- Parameters:
outputs- An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature.
This is a convenience method that creates an instance of theCreateOutput.Builderavoiding the need to create one manually viaCreateOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputs(List<CreateOutput>).- Parameters:
outputs- a consumer that will call methods onCreateOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
If you want to include tags, add them now. You won't be able to add them later.
- Parameters:
tags- If you want to include tags, add them now. You won't be able to add them later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFeedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFeedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-