Class CfnTopic.SubscriptionProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.sns.CfnTopic.SubscriptionProperty.Jsii$Proxy
All Implemented Interfaces:
CfnTopic.SubscriptionProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnTopic.SubscriptionProperty

@Stability(Stable) @Internal public static final class CfnTopic.SubscriptionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTopic.SubscriptionProperty
An implementation for CfnTopic.SubscriptionProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnTopic.SubscriptionProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnTopic.SubscriptionProperty.Builder.
  • Method Details

    • getEndpoint

      public final String getEndpoint()
      Description copied from interface: CfnTopic.SubscriptionProperty
      The endpoint that receives notifications from the Amazon SNS topic.

      The endpoint value depends on the protocol that you specify. For more information, see the Endpoint parameter of the [Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html) action in the Amazon SNS API Reference .

      Specified by:
      getEndpoint in interface CfnTopic.SubscriptionProperty
    • getProtocol

      public final String getProtocol()
      Description copied from interface: CfnTopic.SubscriptionProperty
      The subscription's protocol.

      For more information, see the Protocol parameter of the [Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html) action in the Amazon SNS API Reference .

      Specified by:
      getProtocol in interface CfnTopic.SubscriptionProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object