Class CfnBucket.RoutingRuleProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnBucket.RoutingRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RoutingRuleProperty
An implementation for CfnBucket.RoutingRuleProperty
  • 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(CfnBucket.RoutingRuleProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnBucket.RoutingRuleProperty.Builder.
  • Method Details

    • getRedirectRule

      public final Object getRedirectRule()
      Description copied from interface: CfnBucket.RoutingRuleProperty
      Container for redirect information.

      You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can specify a different error code to return.

      Specified by:
      getRedirectRule in interface CfnBucket.RoutingRuleProperty
    • getRoutingRuleCondition

      public final Object getRoutingRuleCondition()
      Description copied from interface: CfnBucket.RoutingRuleProperty
      A container for describing a condition that must be met for the specified redirect to apply.

      For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

      Specified by:
      getRoutingRuleCondition in interface CfnBucket.RoutingRuleProperty
    • $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