Interface ChannelHandshakePayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelHandshakePayload.Builder,,ChannelHandshakePayload> SdkBuilder<ChannelHandshakePayload.Builder,,ChannelHandshakePayload> SdkPojo
- Enclosing class:
ChannelHandshakePayload
@Mutable
@NotThreadSafe
public static interface ChannelHandshakePayload.Builder
extends SdkPojo, CopyableBuilder<ChannelHandshakePayload.Builder,ChannelHandshakePayload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelHandshakePayload.BuilderrevokeServicePeriodPayload(Consumer<RevokeServicePeriodPayload.Builder> revokeServicePeriodPayload) Payload for revoking a service period handshake.revokeServicePeriodPayload(RevokeServicePeriodPayload revokeServicePeriodPayload) Payload for revoking a service period handshake.default ChannelHandshakePayload.BuilderstartServicePeriodPayload(Consumer<StartServicePeriodPayload.Builder> startServicePeriodPayload) Payload for starting a service period handshake.startServicePeriodPayload(StartServicePeriodPayload startServicePeriodPayload) Payload for starting a service period handshake.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
-
startServicePeriodPayload
ChannelHandshakePayload.Builder startServicePeriodPayload(StartServicePeriodPayload startServicePeriodPayload) Payload for starting a service period handshake.
- Parameters:
startServicePeriodPayload- Payload for starting a service period handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startServicePeriodPayload
default ChannelHandshakePayload.Builder startServicePeriodPayload(Consumer<StartServicePeriodPayload.Builder> startServicePeriodPayload) Payload for starting a service period handshake.
This is a convenience method that creates an instance of theStartServicePeriodPayload.Builderavoiding the need to create one manually viaStartServicePeriodPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartServicePeriodPayload(StartServicePeriodPayload).- Parameters:
startServicePeriodPayload- a consumer that will call methods onStartServicePeriodPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revokeServicePeriodPayload
ChannelHandshakePayload.Builder revokeServicePeriodPayload(RevokeServicePeriodPayload revokeServicePeriodPayload) Payload for revoking a service period handshake.
- Parameters:
revokeServicePeriodPayload- Payload for revoking a service period handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokeServicePeriodPayload
default ChannelHandshakePayload.Builder revokeServicePeriodPayload(Consumer<RevokeServicePeriodPayload.Builder> revokeServicePeriodPayload) Payload for revoking a service period handshake.
This is a convenience method that creates an instance of theRevokeServicePeriodPayload.Builderavoiding the need to create one manually viaRevokeServicePeriodPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevokeServicePeriodPayload(RevokeServicePeriodPayload).- Parameters:
revokeServicePeriodPayload- a consumer that will call methods onRevokeServicePeriodPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-