public static interface DescribeConnectionResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>
Modifier and Type | Method and Description |
---|---|
DescribeConnectionResponse.Builder |
authorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization specified for the connection.
|
DescribeConnectionResponse.Builder |
authorizationType(String authorizationType)
The type of authorization specified for the connection.
|
DescribeConnectionResponse.Builder |
authParameters(ConnectionAuthResponseParameters authParameters)
The parameters to use for authorization for the connection.
|
default DescribeConnectionResponse.Builder |
authParameters(Consumer<ConnectionAuthResponseParameters.Builder> authParameters)
The parameters to use for authorization for the connection.
|
DescribeConnectionResponse.Builder |
connectionArn(String connectionArn)
The ARN of the connection retrieved.
|
DescribeConnectionResponse.Builder |
connectionState(ConnectionState connectionState)
The state of the connection retrieved.
|
DescribeConnectionResponse.Builder |
connectionState(String connectionState)
The state of the connection retrieved.
|
DescribeConnectionResponse.Builder |
creationTime(Instant creationTime)
A time stamp for the time that the connection was created.
|
DescribeConnectionResponse.Builder |
description(String description)
The description for the connection retrieved.
|
DescribeConnectionResponse.Builder |
lastAuthorizedTime(Instant lastAuthorizedTime)
A time stamp for the time that the connection was last authorized.
|
DescribeConnectionResponse.Builder |
lastModifiedTime(Instant lastModifiedTime)
A time stamp for the time that the connection was last modified.
|
DescribeConnectionResponse.Builder |
name(String name)
The name of the connection retrieved.
|
DescribeConnectionResponse.Builder |
secretArn(String secretArn)
The ARN of the secret created from the authorization parameters specified for the connection.
|
DescribeConnectionResponse.Builder |
stateReason(String stateReason)
The reason that the connection is in the current connection state.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeConnectionResponse.Builder connectionArn(String connectionArn)
The ARN of the connection retrieved.
connectionArn
- The ARN of the connection retrieved.DescribeConnectionResponse.Builder name(String name)
The name of the connection retrieved.
name
- The name of the connection retrieved.DescribeConnectionResponse.Builder description(String description)
The description for the connection retrieved.
description
- The description for the connection retrieved.DescribeConnectionResponse.Builder connectionState(String connectionState)
The state of the connection retrieved.
connectionState
- The state of the connection retrieved.ConnectionState
,
ConnectionState
DescribeConnectionResponse.Builder connectionState(ConnectionState connectionState)
The state of the connection retrieved.
connectionState
- The state of the connection retrieved.ConnectionState
,
ConnectionState
DescribeConnectionResponse.Builder stateReason(String stateReason)
The reason that the connection is in the current connection state.
stateReason
- The reason that the connection is in the current connection state.DescribeConnectionResponse.Builder authorizationType(String authorizationType)
The type of authorization specified for the connection.
authorizationType
- The type of authorization specified for the connection.ConnectionAuthorizationType
,
ConnectionAuthorizationType
DescribeConnectionResponse.Builder authorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization specified for the connection.
authorizationType
- The type of authorization specified for the connection.ConnectionAuthorizationType
,
ConnectionAuthorizationType
DescribeConnectionResponse.Builder secretArn(String secretArn)
The ARN of the secret created from the authorization parameters specified for the connection.
secretArn
- The ARN of the secret created from the authorization parameters specified for the connection.DescribeConnectionResponse.Builder authParameters(ConnectionAuthResponseParameters authParameters)
The parameters to use for authorization for the connection.
authParameters
- The parameters to use for authorization for the connection.default DescribeConnectionResponse.Builder authParameters(Consumer<ConnectionAuthResponseParameters.Builder> authParameters)
The parameters to use for authorization for the connection.
This is a convenience that creates an instance of theConnectionAuthResponseParameters.Builder
avoiding the need to create one manually via ConnectionAuthResponseParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to authParameters(ConnectionAuthResponseParameters)
.authParameters
- a consumer that will call methods on ConnectionAuthResponseParameters.Builder
authParameters(ConnectionAuthResponseParameters)
DescribeConnectionResponse.Builder creationTime(Instant creationTime)
A time stamp for the time that the connection was created.
creationTime
- A time stamp for the time that the connection was created.DescribeConnectionResponse.Builder lastModifiedTime(Instant lastModifiedTime)
A time stamp for the time that the connection was last modified.
lastModifiedTime
- A time stamp for the time that the connection was last modified.DescribeConnectionResponse.Builder lastAuthorizedTime(Instant lastAuthorizedTime)
A time stamp for the time that the connection was last authorized.
lastAuthorizedTime
- A time stamp for the time that the connection was last authorized.Copyright © 2022. All rights reserved.