Class 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>
  • Method Details

    • 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.
    • invocationConnectivityParameters

      public final DescribeConnectionConnectivityParameters invocationConnectivityParameters()

      For connections to private APIs The parameters EventBridge uses to invoke the resource endpoint.

      For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .

      Returns:
      For connections to private APIs The parameters EventBridge uses to invoke the resource endpoint.

      For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .

    • 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, connectionState will return ConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from connectionStateAsString().

      Returns:
      The state of the connection retrieved.
      See Also:
    • 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, connectionState will return ConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from connectionStateAsString().

      Returns:
      The state of the connection retrieved.
      See Also:
    • 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, authorizationType will return ConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from authorizationTypeAsString().

      Returns:
      The type of authorization specified for the connection.
      See Also:
    • 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, authorizationType will return ConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from authorizationTypeAsString().

      Returns:
      The type of authorization specified for the connection.
      See Also:
    • 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.
    • kmsKeyIdentifier

      public final String kmsKeyIdentifier()

      The identifier of the KMS customer managed key for EventBridge to use to encrypt the connection, if one has been specified.

      For more information, see Encrypting connections in the Amazon EventBridge User Guide.

      Returns:
      The identifier of the KMS customer managed key for EventBridge to use to encrypt the connection, if one has been specified.

      For more information, see Encrypting connections in the Amazon EventBridge User Guide.

    • 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

      Specified by:
      toBuilder in interface ToCopyableBuilder<DescribeConnectionResponse.Builder,DescribeConnectionResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static DescribeConnectionResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DescribeConnectionResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo