Class DescribeConnectionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse
-
- software.amazon.awssdk.services.eventbridge.model.DescribeConnectionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeConnectionResponse extends EventBridgeResponse implements ToCopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeConnectionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionAuthorizationTypeauthorizationType()The type of authorization specified for the connection.StringauthorizationTypeAsString()The type of authorization specified for the connection.ConnectionAuthResponseParametersauthParameters()The parameters to use for authorization for the connection.static DescribeConnectionResponse.Builderbuilder()StringconnectionArn()The ARN of the connection retrieved.ConnectionStateconnectionState()The state of the connection retrieved.StringconnectionStateAsString()The state of the connection retrieved.InstantcreationTime()A time stamp for the time that the connection was created.Stringdescription()The description for the connection retrieved.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastAuthorizedTime()A time stamp for the time that the connection was last authorized.InstantlastModifiedTime()A time stamp for the time that the connection was last modified.Stringname()The name of the connection retrieved.List<SdkField<?>>sdkFields()StringsecretArn()The ARN of the secret created from the authorization parameters specified for the connection.static Class<? extends DescribeConnectionResponse.Builder>serializableBuilderClass()StringstateReason()The reason that the connection is in the current connection state.DescribeConnectionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
connectionArn
public final String connectionArn()
The ARN of the connection retrieved.
- Returns:
- The ARN of the connection retrieved.
-
name
public final String name()
The name of the connection retrieved.
- Returns:
- The name of the connection retrieved.
-
description
public final String description()
The description for the connection retrieved.
- Returns:
- The description for the connection retrieved.
-
connectionState
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,
connectionStatewill returnConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The state of the connection retrieved.
- See Also:
ConnectionState
-
connectionStateAsString
public 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,
connectionStatewill returnConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The state of the connection retrieved.
- See Also:
ConnectionState
-
stateReason
public final String stateReason()
The reason that the connection is in the current connection state.
- Returns:
- The reason that the connection is in the current connection state.
-
authorizationType
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,
authorizationTypewill returnConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthorizationTypeAsString().- Returns:
- The type of authorization specified for the connection.
- See Also:
ConnectionAuthorizationType
-
authorizationTypeAsString
public 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,
authorizationTypewill returnConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthorizationTypeAsString().- Returns:
- The type of authorization specified for the connection.
- See Also:
ConnectionAuthorizationType
-
secretArn
public final String secretArn()
The ARN of the secret created from the authorization parameters specified for the connection.
- Returns:
- The ARN of the secret created from the authorization parameters specified for the connection.
-
authParameters
public final ConnectionAuthResponseParameters authParameters()
The parameters to use for authorization for the connection.
- Returns:
- The parameters to use for authorization for the connection.
-
creationTime
public final Instant creationTime()
A time stamp for the time that the connection was created.
- Returns:
- A time stamp for the time that the connection was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
A time stamp for the time that the connection was last modified.
- Returns:
- A time stamp for the time that the connection was last modified.
-
lastAuthorizedTime
public final Instant lastAuthorizedTime()
A time stamp for the time that the connection was last authorized.
- Returns:
- A time stamp for the time that the connection was last authorized.
-
toBuilder
public DescribeConnectionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeConnectionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeConnectionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-