Interface AssociateFeedRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateFeedRequest.Builder,,AssociateFeedRequest> ElementalInferenceRequest.Builder,SdkBuilder<AssociateFeedRequest.Builder,,AssociateFeedRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateFeedRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResourceName(String associatedResourceName) An identifier for the resource.Set to true if you want to do a dry run of the associate action.The ID of the feed.outputs(Collection<CreateOutput> outputs) The outputs to add to this feed.outputs(Consumer<CreateOutput.Builder>... outputs) The outputs to add to this feed.outputs(CreateOutput... outputs) The outputs to add to this feed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
id
The ID of the feed.
- Parameters:
id- The ID of the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceName
An identifier for the resource. If the resource is from an AWS service, this identifier must be the full ARN of that resource. Otherwise, the identifier is a name that you assign and that is appropriate for the application that owns the resource. This name must not resemble an ARN.
- Parameters:
associatedResourceName- An identifier for the resource. If the resource is from an AWS service, this identifier must be the full ARN of that resource. Otherwise, the identifier is a name that you assign and that is appropriate for the application that owns the resource. This name must not resemble an ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs to add to this feed. You must specify at least one output. You can later use the UpdateFeed action to change the list of outputs.
- Parameters:
outputs- The outputs to add to this feed. You must specify at least one output. You can later use the UpdateFeed action to change the list of outputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs to add to this feed. You must specify at least one output. You can later use the UpdateFeed action to change the list of outputs.
- Parameters:
outputs- The outputs to add to this feed. You must specify at least one output. You can later use the UpdateFeed action to change the list of outputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs to add to this feed. You must specify at least one output. You can later use the UpdateFeed action to change the list of outputs.
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:
-
dryRun
Set to true if you want to do a dry run of the associate action.
- Parameters:
dryRun- Set to true if you want to do a dry run of the associate action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateFeedRequest.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
AssociateFeedRequest.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.
-