Interface Instance.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Instance.Builder,Instance>,SdkBuilder<Instance.Builder,Instance>,SdkPojo
- Enclosing class:
- Instance
public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Instance.Builderarn(String arn)The Amazon Resource Name (ARN) of the instance.Instance.BuildercreatedTime(Instant createdTime)When the instance was created.Instance.Builderid(String id)The identifier of the Amazon Connect instance.Instance.BuilderidentityManagementType(String identityManagementType)The identity management type.Instance.BuilderidentityManagementType(DirectoryType identityManagementType)The identity management type.Instance.BuilderinboundCallsEnabled(Boolean inboundCallsEnabled)Whether inbound calls are enabled.Instance.BuilderinstanceAccessUrl(String instanceAccessUrl)This URL allows contact center users to access the Amazon Connect admin website.Instance.BuilderinstanceAlias(String instanceAlias)The alias of instance.Instance.BuilderinstanceStatus(String instanceStatus)The state of the instance.Instance.BuilderinstanceStatus(InstanceStatus instanceStatus)The state of the instance.Instance.BuilderoutboundCallsEnabled(Boolean outboundCallsEnabled)Whether outbound calls are enabled.Instance.BuilderserviceRole(String serviceRole)The service role of the instance.default Instance.BuilderstatusReason(Consumer<InstanceStatusReason.Builder> statusReason)Relevant details why the instance was not successfully created.Instance.BuilderstatusReason(InstanceStatusReason statusReason)Relevant details why the instance was not successfully created.-
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 Detail
-
id
Instance.Builder id(String 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
Instance.Builder arn(String 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
Instance.Builder identityManagementType(String 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:
DirectoryType,DirectoryType
-
identityManagementType
Instance.Builder identityManagementType(DirectoryType 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:
DirectoryType,DirectoryType
-
instanceAlias
Instance.Builder instanceAlias(String 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
Instance.Builder createdTime(Instant 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
Instance.Builder serviceRole(String 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
Instance.Builder instanceStatus(String 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,InstanceStatus
-
instanceStatus
Instance.Builder instanceStatus(InstanceStatus 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,InstanceStatus
-
statusReason
Instance.Builder statusReason(InstanceStatusReason 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
default Instance.Builder statusReason(Consumer<InstanceStatusReason.Builder> statusReason)
Relevant details why the instance was not successfully created.
This is a convenience method that creates an instance of theInstanceStatusReason.Builderavoiding the need to create one manually viaInstanceStatusReason.builder().When the
Consumercompletes,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:
statusReason(InstanceStatusReason)
-
inboundCallsEnabled
Instance.Builder inboundCallsEnabled(Boolean 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
Instance.Builder outboundCallsEnabled(Boolean 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
Instance.Builder instanceAccessUrl(String 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.
-
-