Interface DescribeConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeConnectionResponse.Builder,
,DescribeConnectionResponse> EventBridgeResponse.Builder
,SdkBuilder<DescribeConnectionResponse.Builder,
,DescribeConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationType
(String authorizationType) The type of authorization specified for the connection.authorizationType
(ConnectionAuthorizationType authorizationType) The type of authorization specified for the connection.authParameters
(Consumer<ConnectionAuthResponseParameters.Builder> authParameters) The parameters to use for authorization for the connection.authParameters
(ConnectionAuthResponseParameters authParameters) The parameters to use for authorization for the connection.connectionArn
(String connectionArn) The ARN of the connection retrieved.connectionState
(String connectionState) The state of the connection retrieved.connectionState
(ConnectionState connectionState) The state of the connection retrieved.creationTime
(Instant creationTime) A time stamp for the time that the connection was created.description
(String description) The description for the connection retrieved.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 retrieved.The ARN of the secret created from the authorization parameters specified for the connection.stateReason
(String stateReason) The reason that the connection is in the current connection state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connectionArn
The ARN of the connection retrieved.
- Parameters:
connectionArn
- The ARN of the connection retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connection retrieved.
- Parameters:
name
- The name of the connection retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the connection retrieved.
- Parameters:
description
- The description for the connection retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionState
The state of the connection retrieved.
- Parameters:
connectionState
- The state of the connection retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionState
The state of the connection retrieved.
- Parameters:
connectionState
- The state of the connection retrieved.- 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 current connection state.
- Parameters:
stateReason
- The reason that the connection is in the current connection state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationType
The type of authorization specified for the connection.
- Parameters:
authorizationType
- The type of authorization specified for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationType
The type of authorization specified for the connection.
- Parameters:
authorizationType
- The type of authorization specified for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretArn
The ARN of the secret created from the authorization parameters specified for the connection.
- Parameters:
secretArn
- The ARN of the secret created from the authorization parameters specified for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authParameters
The parameters to use for authorization for the connection.
- Parameters:
authParameters
- The parameters to use for authorization for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authParameters
default DescribeConnectionResponse.Builder authParameters(Consumer<ConnectionAuthResponseParameters.Builder> authParameters) The parameters to use for authorization for the connection.
This is a convenience method that creates an instance of theConnectionAuthResponseParameters.Builder
avoiding the need to create one manually viaConnectionAuthResponseParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthParameters(ConnectionAuthResponseParameters)
.- Parameters:
authParameters
- a consumer that will call methods onConnectionAuthResponseParameters.Builder
- 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.
-