Class CreateRuleRequest

    • Method Detail

      • actionAsString

        public final String actionAsString()

        The action of the rule.

        If the service returns an enum value that is not available in the current SDK version, action will return RuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from actionAsString().

        Returns:
        The action of the rule.
        See Also:
        RuleAction
      • clientToken

        public final String clientToken()

        A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

        Returns:
        A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
      • description

        public final String description()

        The description of the rule.

        Returns:
        The description of the rule.
      • detail

        public final RuleDetail detail()

        The detail of the rule.

        Returns:
        The detail of the rule.
      • domainIdentifier

        public final String domainIdentifier()

        The ID of the domain where the rule is created.

        Returns:
        The ID of the domain where the rule is created.
      • name

        public final String name()

        The name of the rule.

        Returns:
        The name of the rule.
      • scope

        public final RuleScope scope()

        The scope of the rule.

        Returns:
        The scope of the rule.
      • target

        public final RuleTarget target()

        The target of the rule.

        Returns:
        The target of the rule.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object