Interface Instance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Instance.Builder,
,Instance> SdkBuilder<Instance.Builder,
,Instance> SdkPojo
- Enclosing class:
Instance
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the instance.createdTime
(Instant createdTime) When the instance was created.The identifier of the Amazon Connect instance.identityManagementType
(String identityManagementType) The identity management type.identityManagementType
(DirectoryType identityManagementType) The identity management type.inboundCallsEnabled
(Boolean inboundCallsEnabled) Whether inbound calls are enabled.instanceAccessUrl
(String instanceAccessUrl) This URL allows contact center users to access the Amazon Connect admin website.instanceAlias
(String instanceAlias) The alias of instance.instanceStatus
(String instanceStatus) The state of the instance.instanceStatus
(InstanceStatus instanceStatus) The state of the instance.outboundCallsEnabled
(Boolean outboundCallsEnabled) Whether outbound calls are enabled.serviceRole
(String serviceRole) The service role of the instance.default Instance.Builder
statusReason
(Consumer<InstanceStatusReason.Builder> statusReason) Relevant details why the instance was not successfully created.statusReason
(InstanceStatusReason statusReason) Relevant details why the instance was not successfully created.The tags of an instance.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, sdkFields
-
Method Details
-
id
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
id
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the instance.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityManagementType
The identity management type.
- Parameters:
identityManagementType
- The identity management type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityManagementType
The identity management type.
- Parameters:
identityManagementType
- The identity management type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceAlias
The alias of instance.
- Parameters:
instanceAlias
- The alias of instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
When the instance was created.
- Parameters:
createdTime
- When the instance was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRole
The service role of the instance.
- Parameters:
serviceRole
- The service role of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatus
The state of the instance.
- Parameters:
instanceStatus
- The state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceStatus
The state of the instance.
- Parameters:
instanceStatus
- The state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Relevant details why the instance was not successfully created.
- Parameters:
statusReason
- Relevant details why the instance was not successfully created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
Relevant details why the instance was not successfully created.
This is a convenience method that creates an instance of theInstanceStatusReason.Builder
avoiding the need to create one manually viaInstanceStatusReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusReason(InstanceStatusReason)
.- Parameters:
statusReason
- a consumer that will call methods onInstanceStatusReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inboundCallsEnabled
Whether inbound calls are enabled.
- Parameters:
inboundCallsEnabled
- Whether inbound calls are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundCallsEnabled
Whether outbound calls are enabled.
- Parameters:
outboundCallsEnabled
- Whether outbound calls are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceAccessUrl
This URL allows contact center users to access the Amazon Connect admin website.
- Parameters:
instanceAccessUrl
- This URL allows contact center users to access the Amazon Connect admin website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of an instance.
- Parameters:
tags
- The tags of an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-