Interface Preview.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Preview.Builder,,Preview> SdkBuilder<Preview.Builder,,Preview> SdkPojo
- Enclosing class:
Preview
@Mutable
@NotThreadSafe
public static interface Preview.Builder
extends SdkPojo, CopyableBuilder<Preview.Builder,Preview>
-
Method Summary
Modifier and TypeMethodDescriptionallowedUserActions(Collection<AllowedUserAction> allowedUserActions) The actions the agent can perform after accepting the preview outbound contact.allowedUserActions(AllowedUserAction... allowedUserActions) The actions the agent can perform after accepting the preview outbound contact.allowedUserActionsWithStrings(String... allowedUserActions) The actions the agent can perform after accepting the preview outbound contact.allowedUserActionsWithStrings(Collection<String> allowedUserActions) The actions the agent can perform after accepting the preview outbound contact.default Preview.BuilderpostAcceptTimeoutConfig(Consumer<PostAcceptTimeoutConfig.Builder> postAcceptTimeoutConfig) Countdown timer configuration after the agent accepted the preview outbound contact.postAcceptTimeoutConfig(PostAcceptTimeoutConfig postAcceptTimeoutConfig) Countdown timer configuration after the agent accepted the preview outbound contact.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
-
postAcceptTimeoutConfig
Countdown timer configuration after the agent accepted the preview outbound contact.
- Parameters:
postAcceptTimeoutConfig- Countdown timer configuration after the agent accepted the preview outbound contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postAcceptTimeoutConfig
default Preview.Builder postAcceptTimeoutConfig(Consumer<PostAcceptTimeoutConfig.Builder> postAcceptTimeoutConfig) Countdown timer configuration after the agent accepted the preview outbound contact.
This is a convenience method that creates an instance of thePostAcceptTimeoutConfig.Builderavoiding the need to create one manually viaPostAcceptTimeoutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostAcceptTimeoutConfig(PostAcceptTimeoutConfig).- Parameters:
postAcceptTimeoutConfig- a consumer that will call methods onPostAcceptTimeoutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedUserActionsWithStrings
The actions the agent can perform after accepting the preview outbound contact.
- Parameters:
allowedUserActions- The actions the agent can perform after accepting the preview outbound contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedUserActionsWithStrings
The actions the agent can perform after accepting the preview outbound contact.
- Parameters:
allowedUserActions- The actions the agent can perform after accepting the preview outbound contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedUserActions
The actions the agent can perform after accepting the preview outbound contact.
- Parameters:
allowedUserActions- The actions the agent can perform after accepting the preview outbound contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedUserActions
The actions the agent can perform after accepting the preview outbound contact.
- Parameters:
allowedUserActions- The actions the agent can perform after accepting the preview outbound contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-