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) An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.outputs(Consumer<CreateOutput.Builder>... outputs) An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.outputs(CreateOutput... outputs) An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the 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. This name must not resemble an ARN.
The resource is the source media that the feed will process. The name you assign should help you to later identify the source media that belongs to the feed. In this way, you will know which source media to push to the feed (using PutMedia).
- Parameters:
associatedResourceName- An identifier for the resource. This name must not resemble an ARN.The resource is the source media that the feed will process. The name you assign should help you to later identify the source media that belongs to the feed. In this way, you will know which source media to push to the feed (using PutMedia).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.
- Parameters:
outputs- An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.
- Parameters:
outputs- An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
An array of one or more outputs that you want to add to this feed now, to supplement any outputs that you specified when you created or updated the feed.
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.
Elemental Inference will validate that the real request would succeed without actually making any changes. A dry run catches errors such as missing IAM permissions, quota limits exceeded, conflicting outputs, and so on. If the dry run fails, the action returns a 4xx error code. After you've fixed the errors, resubmit the request.
- Parameters:
dryRun- Set to true if you want to do a dry run of the associate action.Elemental Inference will validate that the real request would succeed without actually making any changes. A dry run catches errors such as missing IAM permissions, quota limits exceeded, conflicting outputs, and so on. If the dry run fails, the action returns a 4xx error code. After you've fixed the errors, resubmit the request.
- 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.
-