Class GetPolicyDocumentStatementCondition.Builder

    • Method Detail

      • test

        public GetPolicyDocumentStatementCondition.Builder test​(java.lang.String test)
        Parameters:
        test - Name of the [IAM condition operator](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html) to evaluate.
        Returns:
        builder
      • values

        public GetPolicyDocumentStatementCondition.Builder values​(java.util.List<java.lang.String> values)
        Parameters:
        values - Values to evaluate the condition against. If multiple values are provided, the condition matches if at least one of them applies. That is, AWS evaluates multiple values as though using an "OR" boolean operation.
        Returns:
        builder
      • values

        public GetPolicyDocumentStatementCondition.Builder values​(java.lang.String... values)
        Parameters:
        values - Values to evaluate the condition against. If multiple values are provided, the condition matches if at least one of them applies. That is, AWS evaluates multiple values as though using an "OR" boolean operation.
        Returns:
        builder
      • variable

        public GetPolicyDocumentStatementCondition.Builder variable​(java.lang.String variable)
        Parameters:
        variable - Name of a [Context Variable](http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html#AvailableKeys) to apply the condition to. Context variables may either be standard AWS variables starting with `aws:` or service-specific variables prefixed with the service name.
        Returns:
        builder