Interface IotEventsAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IotEventsAction.Builder,IotEventsAction>,SdkBuilder<IotEventsAction.Builder,IotEventsAction>,SdkPojo
- Enclosing class:
- IotEventsAction
public static interface IotEventsAction.Builder extends SdkPojo, CopyableBuilder<IotEventsAction.Builder,IotEventsAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IotEventsAction.BuilderinputName(String inputName)The name of the AWS IoT Events input where the data is sent.default IotEventsAction.Builderpayload(Consumer<Payload.Builder> payload)You can configure the action payload when you send a message to an AWS IoT Events input.IotEventsAction.Builderpayload(Payload payload)You can configure the action payload when you send a message to an AWS IoT Events input.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
inputName
IotEventsAction.Builder inputName(String inputName)
The name of the AWS IoT Events input where the data is sent.
- Parameters:
inputName- The name of the AWS IoT Events input where the data is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
IotEventsAction.Builder payload(Payload payload)
You can configure the action payload when you send a message to an AWS IoT Events input.
- Parameters:
payload- You can configure the action payload when you send a message to an AWS IoT Events input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default IotEventsAction.Builder payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message to an AWS IoT Events input.
This is a convenience method that creates an instance of thePayload.Builderavoiding the need to create one manually viaPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(Payload).- Parameters:
payload- a consumer that will call methods onPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
payload(Payload)
-
-