Interface PutLinkFlowsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutLinkFlowsRequest.Builder,,PutLinkFlowsRequest> RtbFabricRequest.Builder,SdkBuilder<PutLinkFlowsRequest.Builder,,PutLinkFlowsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutLinkFlowsRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.flows(Collection<Flow> flows) The link's flows, replacing the current ones.flows(Consumer<Flow.Builder>... flows) The link's flows, replacing the current ones.The link's flows, replacing the current ones.The unique identifier of the gateway.The unique identifier of the link.The concurrency token that you read from GetLink.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.rtbfabric.model.RtbFabricRequest.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
-
gatewayId
The unique identifier of the gateway.
- Parameters:
gatewayId- The unique identifier of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkId
The unique identifier of the link.
- Parameters:
linkId- The unique identifier of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry with the same token and parameters, you get the original response without an error. If you retry with the same token but different parameters, the call fails with ValidationException. If you don't provide a token, the SDK generates one, and RTB Fabric remembers it for 8 hours. A retry returns the original
updateIdbeforelockTokenis checked.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry with the same token and parameters, you get the original response without an error. If you retry with the same token but different parameters, the call fails with ValidationException. If you don't provide a token, the SDK generates one, and RTB Fabric remembers it for 8 hours. A retry returns the originalupdateIdbeforelockTokenis checked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockToken
The concurrency token that you read from GetLink. If the link changed since that read, by any operation, the call fails with ConflictException.
- Parameters:
lockToken- The concurrency token that you read from GetLink. If the link changed since that read, by any operation, the call fails with ConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flows
The link's flows, replacing the current ones. An empty list removes every flow.
- Parameters:
flows- The link's flows, replacing the current ones. An empty list removes every flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flows
The link's flows, replacing the current ones. An empty list removes every flow.
- Parameters:
flows- The link's flows, replacing the current ones. An empty list removes every flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flows
The link's flows, replacing the current ones. An empty list removes every flow.
This is a convenience method that creates an instance of theFlow.Builderavoiding the need to create one manually viaFlow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflows(List<Flow>).- Parameters:
flows- a consumer that will call methods onFlow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutLinkFlowsRequest.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
PutLinkFlowsRequest.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.
-