Interface OutboundRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutboundRequest.Builder,
,OutboundRequest> SdkBuilder<OutboundRequest.Builder,
,OutboundRequest> SdkPojo
- Enclosing class:
OutboundRequest
@Mutable
@NotThreadSafe
public static interface OutboundRequest.Builder
extends SdkPojo, CopyableBuilder<OutboundRequest.Builder,OutboundRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutboundRequest.Builder
channelSubtypeParameters
(Consumer<ChannelSubtypeParameters.Builder> channelSubtypeParameters) Sets the value of the ChannelSubtypeParameters property for this object.channelSubtypeParameters
(ChannelSubtypeParameters channelSubtypeParameters) Sets the value of the ChannelSubtypeParameters property for this object.clientToken
(String clientToken) Sets the value of the ClientToken property for this object.expirationTime
(Instant expirationTime) Sets the value of the ExpirationTime property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken
- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
Sets the value of the ExpirationTime property for this object.- Parameters:
expirationTime
- The new value for the ExpirationTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtypeParameters
Sets the value of the ChannelSubtypeParameters property for this object.- Parameters:
channelSubtypeParameters
- The new value for the ChannelSubtypeParameters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtypeParameters
default OutboundRequest.Builder channelSubtypeParameters(Consumer<ChannelSubtypeParameters.Builder> channelSubtypeParameters) Sets the value of the ChannelSubtypeParameters property for this object. This is a convenience method that creates an instance of theChannelSubtypeParameters.Builder
avoiding the need to create one manually viaChannelSubtypeParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelSubtypeParameters(ChannelSubtypeParameters)
.- Parameters:
channelSubtypeParameters
- a consumer that will call methods onChannelSubtypeParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-