@Generated(value="software.amazon.awssdk:codegen") public final class DescribeConnectionResponse extends EventBridgeResponse implements ToCopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeConnectionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
ConnectionAuthorizationType |
authorizationType()
The type of authorization specified for the connection.
|
String |
authorizationTypeAsString()
The type of authorization specified for the connection.
|
ConnectionAuthResponseParameters |
authParameters()
The parameters to use for authorization for the connection.
|
static DescribeConnectionResponse.Builder |
builder() |
String |
connectionArn()
The ARN of the connection retrieved.
|
ConnectionState |
connectionState()
The state of the connection retrieved.
|
String |
connectionStateAsString()
The state of the connection retrieved.
|
Instant |
creationTime()
A time stamp for the time that the connection was created.
|
String |
description()
The description for the connection retrieved.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAuthorizedTime()
A time stamp for the time that the connection was last authorized.
|
Instant |
lastModifiedTime()
A time stamp for the time that the connection was last modified.
|
String |
name()
The name of the connection retrieved.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The ARN of the secret created from the authorization parameters specified for the connection.
|
static Class<? extends DescribeConnectionResponse.Builder> |
serializableBuilderClass() |
String |
stateReason()
The reason that the connection is in the current connection state.
|
DescribeConnectionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectionArn()
The ARN of the connection retrieved.
public final String name()
The name of the connection retrieved.
public final String description()
The description for the connection retrieved.
public final ConnectionState connectionState()
The state of the connection retrieved.
If the service returns an enum value that is not available in the current SDK version, connectionState
will return ConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionStateAsString().
ConnectionStatepublic final String connectionStateAsString()
The state of the connection retrieved.
If the service returns an enum value that is not available in the current SDK version, connectionState
will return ConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionStateAsString().
ConnectionStatepublic final String stateReason()
The reason that the connection is in the current connection state.
public final ConnectionAuthorizationType authorizationType()
The type of authorization specified for the connection.
If the service returns an enum value that is not available in the current SDK version, authorizationType
will return ConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from authorizationTypeAsString().
ConnectionAuthorizationTypepublic final String authorizationTypeAsString()
The type of authorization specified for the connection.
If the service returns an enum value that is not available in the current SDK version, authorizationType
will return ConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from authorizationTypeAsString().
ConnectionAuthorizationTypepublic final String secretArn()
The ARN of the secret created from the authorization parameters specified for the connection.
public final ConnectionAuthResponseParameters authParameters()
The parameters to use for authorization for the connection.
public final Instant creationTime()
A time stamp for the time that the connection was created.
public final Instant lastModifiedTime()
A time stamp for the time that the connection was last modified.
public final Instant lastAuthorizedTime()
A time stamp for the time that the connection was last authorized.
public DescribeConnectionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>toBuilder in class AwsResponsepublic static DescribeConnectionResponse.Builder builder()
public static Class<? extends DescribeConnectionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.