Class TransitGatewayPolicyRule

    • Method Detail

      • sourceCidrBlock

        public final String sourceCidrBlock()

        The source CIDR block for the transit gateway policy rule.

        Returns:
        The source CIDR block for the transit gateway policy rule.
      • sourcePortRange

        public final String sourcePortRange()

        The port range for the transit gateway policy rule. Currently this is set to * (all).

        Returns:
        The port range for the transit gateway policy rule. Currently this is set to * (all).
      • destinationCidrBlock

        public final String destinationCidrBlock()

        The destination CIDR block for the transit gateway policy rule.

        Returns:
        The destination CIDR block for the transit gateway policy rule.
      • destinationPortRange

        public final String destinationPortRange()

        The port range for the transit gateway policy rule. Currently this is set to * (all).

        Returns:
        The port range for the transit gateway policy rule. Currently this is set to * (all).
      • protocol

        public final String protocol()

        The protocol used by the transit gateway policy rule.

        Returns:
        The protocol used by the transit gateway policy rule.
      • metaData

        public final TransitGatewayPolicyRuleMetaData metaData()

        The meta data tags used for the transit gateway policy rule.

        Returns:
        The meta data tags used for the transit gateway policy rule.
      • 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)