Class RuleTypeId

    • Method Detail

      • category

        public final RuleCategory category()

        A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule.

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

        Returns:
        A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule.
        See Also:
        RuleCategory
      • categoryAsString

        public final String categoryAsString()

        A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule.

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

        Returns:
        A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule.
        See Also:
        RuleCategory
      • owner

        public final RuleOwner owner()

        The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.

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

        Returns:
        The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.
        See Also:
        RuleOwner
      • ownerAsString

        public final String ownerAsString()

        The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.

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

        Returns:
        The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.
        See Also:
        RuleOwner
      • provider

        public final String provider()

        The rule provider, such as the DeploymentWindow rule.

        Returns:
        The rule provider, such as the DeploymentWindow rule.
      • version

        public final String version()

        A string that describes the rule version.

        Returns:
        A string that describes the rule version.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)