Interface ActionConnector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionConnector.Builder,
,ActionConnector> SdkBuilder<ActionConnector.Builder,
,ActionConnector> SdkPojo
- Enclosing class:
ActionConnector
-
Method Summary
Modifier and TypeMethodDescriptionactionConnectorId
(String actionConnectorId) The unique identifier of the action connector.The Amazon Resource Name (ARN) of the action connector.default ActionConnector.Builder
authenticationConfig
(Consumer<ReadAuthConfig.Builder> authenticationConfig) The authentication configuration used to connect to the external service.authenticationConfig
(ReadAuthConfig authenticationConfig) The authentication configuration used to connect to the external service.createdTime
(Instant createdTime) The timestamp when the action connector was created.description
(String description) The description of the action connector.enabledActions
(String... enabledActions) The list of actions that are enabled for this connector.enabledActions
(Collection<String> enabledActions) The list of actions that are enabled for this connector.default ActionConnector.Builder
Error information if the action connector is in an error state.error
(ActionConnectorError error) Error information if the action connector is in an error state.lastUpdatedTime
(Instant lastUpdatedTime) The date and time when the action connector was last updated.The name of the action connector.The current status of the action connector.status
(ResourceStatus status) The current status of the action connector.The type of action connector.type
(ActionConnectorType type) The type of action connector.vpcConnectionArn
(String vpcConnectionArn) The ARN of the VPC connection used for secure connectivity to the external service.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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the action connector.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConnectorId
The unique identifier of the action connector.
- Parameters:
actionConnectorId
- The unique identifier of the action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of action connector.
- Parameters:
type
- The type of action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of action connector.
- Parameters:
type
- The type of action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the action connector.
- Parameters:
name
- The name of the action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The timestamp when the action connector was created.
- Parameters:
createdTime
- The timestamp when the action connector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time when the action connector was last updated.
- Parameters:
lastUpdatedTime
- The date and time when the action connector was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the action connector.
- Parameters:
status
- The current status of the action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the action connector.
- Parameters:
status
- The current status of the action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
Error information if the action connector is in an error state.
- Parameters:
error
- Error information if the action connector is in an error state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Error information if the action connector is in an error state.
This is a convenience method that creates an instance of theActionConnectorError.Builder
avoiding the need to create one manually viaActionConnectorError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ActionConnectorError)
.- Parameters:
error
- a consumer that will call methods onActionConnectorError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the action connector.
- Parameters:
description
- The description of the action connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfig
The authentication configuration used to connect to the external service.
- Parameters:
authenticationConfig
- The authentication configuration used to connect to the external service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfig
default ActionConnector.Builder authenticationConfig(Consumer<ReadAuthConfig.Builder> authenticationConfig) The authentication configuration used to connect to the external service.
This is a convenience method that creates an instance of theReadAuthConfig.Builder
avoiding the need to create one manually viaReadAuthConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationConfig(ReadAuthConfig)
.- Parameters:
authenticationConfig
- a consumer that will call methods onReadAuthConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabledActions
The list of actions that are enabled for this connector.
- Parameters:
enabledActions
- The list of actions that are enabled for this connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledActions
The list of actions that are enabled for this connector.
- Parameters:
enabledActions
- The list of actions that are enabled for this connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectionArn
The ARN of the VPC connection used for secure connectivity to the external service.
- Parameters:
vpcConnectionArn
- The ARN of the VPC connection used for secure connectivity to the external service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-