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.BuilderauthorizationType(String authorizationType)The authorization type specified for the connection.Connection.BuilderauthorizationType(ConnectionAuthorizationType authorizationType)The authorization type specified for the connection.Connection.BuilderconnectionArn(String connectionArn)The ARN of the connection.Connection.BuilderconnectionState(String connectionState)The state of the connection.Connection.BuilderconnectionState(ConnectionState connectionState)The state of the connection.Connection.BuildercreationTime(Instant creationTime)A time stamp for the time that the connection was created.Connection.BuilderlastAuthorizedTime(Instant lastAuthorizedTime)A time stamp for the time that the connection was last authorized.Connection.BuilderlastModifiedTime(Instant lastModifiedTime)A time stamp for the time that the connection was last modified.Connection.Buildername(String name)The name of the connection.Connection.BuilderstateReason(String stateReason)The reason that the connection is in the connection state.-
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
-
connectionArn
Connection.Builder connectionArn(String 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
Connection.Builder name(String 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
Connection.Builder connectionState(String 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,ConnectionState
-
connectionState
Connection.Builder connectionState(ConnectionState 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,ConnectionState
-
stateReason
Connection.Builder stateReason(String 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
Connection.Builder authorizationType(String 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:
ConnectionAuthorizationType,ConnectionAuthorizationType
-
authorizationType
Connection.Builder authorizationType(ConnectionAuthorizationType 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:
ConnectionAuthorizationType,ConnectionAuthorizationType
-
creationTime
Connection.Builder creationTime(Instant 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
Connection.Builder lastModifiedTime(Instant 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
Connection.Builder lastAuthorizedTime(Instant 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.
-
-