Interface Connection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Connection.Builder,Connection>,SdkBuilder<Connection.Builder,Connection>,SdkPojo
- Enclosing class:
- Connection
public static interface Connection.Builder extends SdkPojo, CopyableBuilder<Connection.Builder,Connection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection.BuilderendpointArn(String endpointArn)The ARN string that uniquely identifies the endpoint.Connection.BuilderendpointIdentifier(String endpointIdentifier)The identifier of the endpoint.Connection.BuilderlastFailureMessage(String lastFailureMessage)The error message when the connection last failed.Connection.BuilderreplicationInstanceArn(String replicationInstanceArn)The ARN of the replication instance.Connection.BuilderreplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.Connection.Builderstatus(String status)The connection status.-
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
-
replicationInstanceArn
Connection.Builder replicationInstanceArn(String replicationInstanceArn)
The ARN of the replication instance.
- Parameters:
replicationInstanceArn- The ARN of the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointArn
Connection.Builder endpointArn(String endpointArn)
The ARN string that uniquely identifies the endpoint.
- Parameters:
endpointArn- The ARN string that uniquely identifies the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Connection.Builder status(String status)
The connection status. This parameter can return one of the following values:
-
"successful" -
"testing" -
"failed" -
"deleting"
- Parameters:
status- The connection status. This parameter can return one of the following values:-
"successful" -
"testing" -
"failed" -
"deleting"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
lastFailureMessage
Connection.Builder lastFailureMessage(String lastFailureMessage)
The error message when the connection last failed.
- Parameters:
lastFailureMessage- The error message when the connection last failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointIdentifier
Connection.Builder endpointIdentifier(String endpointIdentifier)
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- Parameters:
endpointIdentifier- The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInstanceIdentifier
Connection.Builder replicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
- Parameters:
replicationInstanceIdentifier- The replication instance identifier. This parameter is stored as a lowercase string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-