Class CfnTask.FilterRuleProperty.Jsii$Proxy

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

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

    • getFilterType

      public final String getFilterType()
      Description copied from interface: CfnTask.FilterRuleProperty
      The type of filter rule to apply.

      AWS DataSync only supports the SIMPLE_PATTERN rule type.

      Specified by:
      getFilterType in interface CfnTask.FilterRuleProperty
    • getValue

      public final String getValue()
      Description copied from interface: CfnTask.FilterRuleProperty
      A single filter string that consists of the patterns to include or exclude.

      The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2

      Specified by:
      getValue in interface CfnTask.FilterRuleProperty
    • $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