class AWS::S3::PresignedPost::ConditionBuilder

{PresignedPost#where} for usage examples.
Lets you specify conditions on a field. See

def in(range)

e.g. `presigned_post.with(:conent_length).in(1..4)`.
`:content_length` field,
range. This may only be used to constrain the
Specifies that the value of the field must be in the given
def in(range)
  @post.refine(:content_length => range)
end

def initialize(post, field)

Other tags:
    Api: - private
def initialize(post, field)
  @post = post
  @field = field
end

def is(value)

provided value.
Specifies that the value of the field must equal the
def is(value)
  if @field == :content_length
    self.in(value)
  else
    @post.with_equality_condition(@field, value)
  end
end

def starts_with(prefix)

* metadata fields (see {#where_metadata})
* `:success_action_redirect`
* `:acl`
* `:expires_header`
* `:content_encoding`
* `:content_disposition`
* `:content_type`
* `:cache_control`
* `:key`

for the following fields:
`${filename}` variable is expanded. This is only valid
"key" field, note that this check takes place after the
provided value. If you are specifying a condition on the
Specifies that the value of the field must begin with the
def starts_with(prefix)
  @post.with_prefix_condition(@field, prefix)
end