library/src/main/java/com/kdgregory/aws/utils/iam/PolicyBuilder.java
/**
         *  Specifies one or more conditions that apply to this statement. This
         *  method may be called multiple times; the resources are combined. May
         *  not specify multiple conditions with the same key.
         */
Specifies one or more conditions that apply to this statement. This
method may be called multiple times; the resources are combined. May
not specify multiple conditions with the same key.
Specifies one or more conditions that apply to this statement . This method may be called multiple times ; the resources are combined . May not specify multiple conditions with the same key .
public Statement conditions(Condition... values)
        {
            for (Condition value : values)
            {
                String type = value.getType();
                if (conditions.containsKey(type))
                    throw new IllegalArgumentException("specified multiple conditions of same type: " + type);
                conditions.put(type, value);
            }
            return this;
        }
public Statement conditions ( Condition ... values ) { for ( Condition value : values ) { String type = value . getType ( ) ; if ( conditions . containsKey ( type ) ) throw new IllegalArgumentException ( "specified multiple conditions of same type: " + type ) ; conditions . put ( type , value ) ; } return this ; }
Specifies one or more conditions that apply to this statement.
Specifies one or more conditions that apply to this statement .