public static interface StopContactRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<StopContactRequest.Builder,StopContactRequest>
| Modifier and Type | Method and Description |
|---|---|
StopContactRequest.Builder |
contactId(String contactId)
The ID of the contact.
|
default StopContactRequest.Builder |
disconnectReason(Consumer<DisconnectReason.Builder> disconnectReason)
The reason a contact can be disconnected.
|
StopContactRequest.Builder |
disconnectReason(DisconnectReason disconnectReason)
The reason a contact can be disconnected.
|
StopContactRequest.Builder |
instanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
StopContactRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StopContactRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopContactRequest.Builder contactId(String contactId)
The ID of the contact.
contactId - The ID of the contact.StopContactRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.StopContactRequest.Builder disconnectReason(DisconnectReason disconnectReason)
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
disconnectReason - The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this
field.default StopContactRequest.Builder disconnectReason(Consumer<DisconnectReason.Builder> disconnectReason)
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
This is a convenience method that creates an instance of theDisconnectReason.Builder avoiding the
need to create one manually via DisconnectReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to disconnectReason(DisconnectReason).
disconnectReason - a consumer that will call methods on DisconnectReason.BuilderdisconnectReason(DisconnectReason)StopContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStopContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.