Class GuardDutyFinding.OldPolicy.Builder

java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.OldPolicy.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.OldPolicy>
Enclosing interface:
GuardDutyFinding.OldPolicy

@Stability(Experimental) public static final class GuardDutyFinding.OldPolicy.Builder extends Object implements software.amazon.jsii.Builder<GuardDutyFinding.OldPolicy>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • allowUsersToChangePassword

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder allowUsersToChangePassword(List<String> allowUsersToChangePassword)
      Parameters:
      allowUsersToChangePassword - allowUsersToChangePassword property. Specify an array of string values to match this event if the actual value of allowUsersToChangePassword is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • hardExpiry

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder hardExpiry(List<String> hardExpiry)
      Parameters:
      hardExpiry - hardExpiry property. Specify an array of string values to match this event if the actual value of hardExpiry is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • maxPasswordAge

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder maxPasswordAge(List<String> maxPasswordAge)
      Parameters:
      maxPasswordAge - maxPasswordAge property. Specify an array of string values to match this event if the actual value of maxPasswordAge is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • minimumPasswordLength

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder minimumPasswordLength(List<String> minimumPasswordLength)
      Parameters:
      minimumPasswordLength - minimumPasswordLength property. Specify an array of string values to match this event if the actual value of minimumPasswordLength is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • passwordReusePrevention

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder passwordReusePrevention(List<String> passwordReusePrevention)
      Parameters:
      passwordReusePrevention - passwordReusePrevention property. Specify an array of string values to match this event if the actual value of passwordReusePrevention is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • requireLowercaseCharacters

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder requireLowercaseCharacters(List<String> requireLowercaseCharacters)
      Parameters:
      requireLowercaseCharacters - requireLowercaseCharacters property. Specify an array of string values to match this event if the actual value of requireLowercaseCharacters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • requireNumbers

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder requireNumbers(List<String> requireNumbers)
      Parameters:
      requireNumbers - requireNumbers property. Specify an array of string values to match this event if the actual value of requireNumbers is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • requireSymbols

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder requireSymbols(List<String> requireSymbols)
      Parameters:
      requireSymbols - requireSymbols property. Specify an array of string values to match this event if the actual value of requireSymbols is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • requireUppercaseCharacters

      @Stability(Experimental) public GuardDutyFinding.OldPolicy.Builder requireUppercaseCharacters(List<String> requireUppercaseCharacters)
      Parameters:
      requireUppercaseCharacters - requireUppercaseCharacters property. Specify an array of string values to match this event if the actual value of requireUppercaseCharacters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
      Returns:
      this
    • build

      @Stability(Experimental) public GuardDutyFinding.OldPolicy build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<GuardDutyFinding.OldPolicy>
      Returns:
      a new instance of GuardDutyFinding.OldPolicy
      Throws:
      NullPointerException - if any required attribute was not provided