Interface Connection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Connection.Builder,,Connection> SdkBuilder<Connection.Builder,,Connection> SdkPojo
- Enclosing class:
Connection
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationType(String authorizationType) The authorization type specified for the connection.authorizationType(ConnectionAuthorizationType authorizationType) The authorization type specified for the connection.connectionArn(String connectionArn) The ARN of the connection.connectionState(String connectionState) The state of the connection.connectionState(ConnectionState connectionState) The state of the connection.creationTime(Instant creationTime) A time stamp for the time that the connection was created.lastAuthorizedTime(Instant lastAuthorizedTime) A time stamp for the time that the connection was last authorized.lastModifiedTime(Instant lastModifiedTime) A time stamp for the time that the connection was last modified.The name of the connection.stateReason(String stateReason) The reason that the connection is in the connection state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectionArn
The ARN of the connection.
- Parameters:
connectionArn- The ARN of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connection.
- Parameters:
name- The name of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionState
The state of the connection.
- Parameters:
connectionState- The state of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionState
The state of the connection.
- Parameters:
connectionState- The state of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason that the connection is in the connection state.
- Parameters:
stateReason- The reason that the connection is in the connection state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationType
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Parameters:
authorizationType- The authorization type specified for the connection.OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationType
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Parameters:
authorizationType- The authorization type specified for the connection.OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
A time stamp for the time that the connection was created.
- Parameters:
creationTime- A time stamp for the time that the connection was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
A time stamp for the time that the connection was last modified.
- Parameters:
lastModifiedTime- A time stamp for the time that the connection was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAuthorizedTime
A time stamp for the time that the connection was last authorized.
- Parameters:
lastAuthorizedTime- A time stamp for the time that the connection was last authorized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-