Class RoutingRule.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class RoutingRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RoutingRule
An implementation for RoutingRule
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.RoutingRule

    RoutingRule.Builder, RoutingRule.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the RoutingRule.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    Specifies a condition that must be met for the specified redirect to apply.
    final String
    The host name to use in the redirect request.
    final String
    The HTTP redirect code to use on the response.
    Protocol to use when redirecting requests.
    Specifies the object key prefix to use in the redirect request.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(RoutingRule.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RoutingRule.Builder.
  • Method Details

    • getCondition

      public final RoutingRuleCondition getCondition()
      Description copied from interface: RoutingRule
      Specifies a condition that must be met for the specified redirect to apply.

      Default: - No condition

      Specified by:
      getCondition in interface RoutingRule
    • getHostName

      public final String getHostName()
      Description copied from interface: RoutingRule
      The host name to use in the redirect request.

      Default: - The host name used in the original request.

      Specified by:
      getHostName in interface RoutingRule
    • getHttpRedirectCode

      public final String getHttpRedirectCode()
      Description copied from interface: RoutingRule
      The HTTP redirect code to use on the response.

      Default: "301" - Moved Permanently

      Specified by:
      getHttpRedirectCode in interface RoutingRule
    • getProtocol

      public final RedirectProtocol getProtocol()
      Description copied from interface: RoutingRule
      Protocol to use when redirecting requests.

      Default: - The protocol used in the original request.

      Specified by:
      getProtocol in interface RoutingRule
    • getReplaceKey

      public final ReplaceKey getReplaceKey()
      Description copied from interface: RoutingRule
      Specifies the object key prefix to use in the redirect request.

      Default: - The key will not be replaced

      Specified by:
      getReplaceKey in interface RoutingRule
    • $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