Interface ProfileOutboundRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProfileOutboundRequest.Builder,,ProfileOutboundRequest> SdkBuilder<ProfileOutboundRequest.Builder,,ProfileOutboundRequest> SdkPojo
- Enclosing class:
ProfileOutboundRequest
@Mutable
@NotThreadSafe
public static interface ProfileOutboundRequest.Builder
extends SdkPojo, CopyableBuilder<ProfileOutboundRequest.Builder,ProfileOutboundRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Sets the value of the ClientToken property for this object.default ProfileOutboundRequest.BuildereventTriggerContext(Consumer<EventTriggerContext.Builder> eventTriggerContext) Sets the value of the EventTriggerContext property for this object.eventTriggerContext(EventTriggerContext eventTriggerContext) Sets the value of the EventTriggerContext property for this object.expirationTime(Instant expirationTime) Sets the value of the ExpirationTime property for this object.Sets the value of the ProfileId property for this object.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
-
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.
-
profileId
Sets the value of the ProfileId property for this object.- Parameters:
profileId- The new value for the ProfileId 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.
-
eventTriggerContext
Sets the value of the EventTriggerContext property for this object.- Parameters:
eventTriggerContext- The new value for the EventTriggerContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTriggerContext
default ProfileOutboundRequest.Builder eventTriggerContext(Consumer<EventTriggerContext.Builder> eventTriggerContext) Sets the value of the EventTriggerContext property for this object. This is a convenience method that creates an instance of theEventTriggerContext.Builderavoiding the need to create one manually viaEventTriggerContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventTriggerContext(EventTriggerContext).- Parameters:
eventTriggerContext- a consumer that will call methods onEventTriggerContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-