Interface FlowModule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FlowModule.Builder,,FlowModule> SdkBuilder<FlowModule.Builder,,FlowModule> SdkPojo
- Enclosing class:
FlowModule
-
Method Summary
Modifier and TypeMethodDescriptionactivationPercentage(Float activationPercentage) The percentage of the flow's requests that the module runs on.configurationValues(String configurationValues) RTB Fabric validates the value against the version'sconfigurationSchemaand rejects a value that fails with ValidationException.failureMode(String failureMode) Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale.failureMode(FailureMode failureMode) Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale.moduleVersionArn(String moduleVersionArn) The version to attach.The module's name, unique within the flow.selectedActions(Collection<ConfigurableAction> selectedActions) The capabilities to turn on, chosen from the version'sconfigurableActions.selectedActions(ConfigurableAction... selectedActions) The capabilities to turn on, chosen from the version'sconfigurableActions.selectedActionsWithStrings(String... selectedActions) The capabilities to turn on, chosen from the version'sconfigurableActions.selectedActionsWithStrings(Collection<String> selectedActions) The capabilities to turn on, chosen from the version'sconfigurableActions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
The module's name, unique within the flow.
- Parameters:
name- The module's name, unique within the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moduleVersionArn
The version to attach. It must be ACTIVE and available to you (see ListAvailableModuleVersions). You can keep a version that's already in the link's flows after it's deprecated, but you can't give it a higher share of traffic.
- Parameters:
moduleVersionArn- The version to attach. It must be ACTIVE and available to you (see ListAvailableModuleVersions). You can keep a version that's already in the link's flows after it's deprecated, but you can't give it a higher share of traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedActionsWithStrings
The capabilities to turn on, chosen from the version's
configurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Parameters:
selectedActions- The capabilities to turn on, chosen from the version'sconfigurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedActionsWithStrings
The capabilities to turn on, chosen from the version's
configurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Parameters:
selectedActions- The capabilities to turn on, chosen from the version'sconfigurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedActions
The capabilities to turn on, chosen from the version's
configurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Parameters:
selectedActions- The capabilities to turn on, chosen from the version'sconfigurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedActions
The capabilities to turn on, chosen from the version's
configurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Parameters:
selectedActions- The capabilities to turn on, chosen from the version'sconfigurableActions. If the version exposes one, it's the default. If the version exposes more than one, this field is required. If it exposes none, omit this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMode
Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale. The default is OPEN.
- Parameters:
failureMode- Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale. The default is OPEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMode
Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale. The default is OPEN.
- Parameters:
failureMode- Specifies what happens when the module fails – when its call fails or times out, or when an express module's dataset is stale. The default is OPEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationPercentage
The percentage of the flow's requests that the module runs on. The flow skips the module on the rest of the requests. The default is 100.
- Parameters:
activationPercentage- The percentage of the flow's requests that the module runs on. The flow skips the module on the rest of the requests. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationValues
RTB Fabric validates the value against the version's
configurationSchemaand rejects a value that fails with ValidationException. Omit it when the schema is empty or fully defaulted.- Parameters:
configurationValues- RTB Fabric validates the value against the version'sconfigurationSchemaand rejects a value that fails with ValidationException. Omit it when the schema is empty or fully defaulted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-