Interface DescribeConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>,EventBridgeResponse.Builder,SdkBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeConnectionResponse
public static interface DescribeConnectionResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeConnectionResponse.BuilderauthorizationType(String authorizationType)The type of authorization specified for the connection.DescribeConnectionResponse.BuilderauthorizationType(ConnectionAuthorizationType authorizationType)The type of authorization specified for the connection.default DescribeConnectionResponse.BuilderauthParameters(Consumer<ConnectionAuthResponseParameters.Builder> authParameters)The parameters to use for authorization for the connection.DescribeConnectionResponse.BuilderauthParameters(ConnectionAuthResponseParameters authParameters)The parameters to use for authorization for the connection.DescribeConnectionResponse.BuilderconnectionArn(String connectionArn)The ARN of the connection retrieved.DescribeConnectionResponse.BuilderconnectionState(String connectionState)The state of the connection retrieved.DescribeConnectionResponse.BuilderconnectionState(ConnectionState connectionState)The state of the connection retrieved.DescribeConnectionResponse.BuildercreationTime(Instant creationTime)A time stamp for the time that the connection was created.DescribeConnectionResponse.Builderdescription(String description)The description for the connection retrieved.default DescribeConnectionResponse.BuilderinvocationConnectivityParameters(Consumer<DescribeConnectionConnectivityParameters.Builder> invocationConnectivityParameters)For connections to private resource endpoints.DescribeConnectionResponse.BuilderinvocationConnectivityParameters(DescribeConnectionConnectivityParameters invocationConnectivityParameters)For connections to private resource endpoints.DescribeConnectionResponse.BuilderlastAuthorizedTime(Instant lastAuthorizedTime)A time stamp for the time that the connection was last authorized.DescribeConnectionResponse.BuilderlastModifiedTime(Instant lastModifiedTime)A time stamp for the time that the connection was last modified.DescribeConnectionResponse.Buildername(String name)The name of the connection retrieved.DescribeConnectionResponse.BuildersecretArn(String secretArn)The ARN of the secret created from the authorization parameters specified for the connection.DescribeConnectionResponse.BuilderstateReason(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
connectionArn
DescribeConnectionResponse.Builder connectionArn(String 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
DescribeConnectionResponse.Builder name(String 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
DescribeConnectionResponse.Builder description(String 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.
-
invocationConnectivityParameters
DescribeConnectionResponse.Builder invocationConnectivityParameters(DescribeConnectionConnectivityParameters invocationConnectivityParameters)
For connections to private resource endpoints. The parameters EventBridge uses to invoke the resource endpoint.
For more information, see Connecting to private resources in the Amazon EventBridge User Guide .
- Parameters:
invocationConnectivityParameters- For connections to private resource endpoints. The parameters EventBridge uses to invoke the resource endpoint.For more information, see Connecting to private resources in the Amazon EventBridge User Guide .
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationConnectivityParameters
default DescribeConnectionResponse.Builder invocationConnectivityParameters(Consumer<DescribeConnectionConnectivityParameters.Builder> invocationConnectivityParameters)
For connections to private resource endpoints. The parameters EventBridge uses to invoke the resource endpoint.
For more information, see Connecting to private resources in the Amazon EventBridge User Guide .
This is a convenience method that creates an instance of theDescribeConnectionConnectivityParameters.Builderavoiding the need to create one manually viaDescribeConnectionConnectivityParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvocationConnectivityParameters(DescribeConnectionConnectivityParameters).- Parameters:
invocationConnectivityParameters- a consumer that will call methods onDescribeConnectionConnectivityParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
invocationConnectivityParameters(DescribeConnectionConnectivityParameters)
-
connectionState
DescribeConnectionResponse.Builder connectionState(String 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,ConnectionState
-
connectionState
DescribeConnectionResponse.Builder connectionState(ConnectionState 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,ConnectionState
-
stateReason
DescribeConnectionResponse.Builder stateReason(String 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
DescribeConnectionResponse.Builder authorizationType(String 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:
ConnectionAuthorizationType,ConnectionAuthorizationType
-
authorizationType
DescribeConnectionResponse.Builder authorizationType(ConnectionAuthorizationType 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:
ConnectionAuthorizationType,ConnectionAuthorizationType
-
secretArn
DescribeConnectionResponse.Builder secretArn(String 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
DescribeConnectionResponse.Builder authParameters(ConnectionAuthResponseParameters 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.Builderavoiding the need to create one manually viaConnectionAuthResponseParameters.builder().When the
Consumercompletes,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:
authParameters(ConnectionAuthResponseParameters)
-
creationTime
DescribeConnectionResponse.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
DescribeConnectionResponse.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
DescribeConnectionResponse.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.
-
-