Class CfnBucket.RoutingRuleConditionProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnBucket.RoutingRuleConditionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RoutingRuleConditionProperty
  • Constructor Details

  • Method Details

    • getHttpErrorCodeReturnedEquals

      public final String getHttpErrorCodeReturnedEquals()
      Description copied from interface: CfnBucket.RoutingRuleConditionProperty
      The HTTP error code when the redirect is applied.

      In the event of an error, if the error code equals this value, then the specified redirect is applied.

      Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied.

      Specified by:
      getHttpErrorCodeReturnedEquals in interface CfnBucket.RoutingRuleConditionProperty
    • getKeyPrefixEquals

      public final String getKeyPrefixEquals()
      Description copied from interface: CfnBucket.RoutingRuleConditionProperty
      The object key name prefix when the redirect is applied.

      For example, to redirect requests for ExamplePage.html , the key prefix will be ExamplePage.html . To redirect request for all pages with the prefix docs/ , the key prefix will be /docs , which identifies all objects in the docs/ folder.

      Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied.

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