public static class PostPolicyV4.PostConditionsV4.Builder extends Object
public static PostPolicyV4.PostConditionsV4.Builder newBuilder()
public PostPolicyV4.PostConditionsV4 build()
public PostPolicyV4.PostConditionsV4.Builder addAclCondition(PostPolicyV4.ConditionV4Type type, String acl)
public PostPolicyV4.PostConditionsV4.Builder addBucketCondition(PostPolicyV4.ConditionV4Type type, String bucket)
public PostPolicyV4.PostConditionsV4.Builder addCacheControlCondition(PostPolicyV4.ConditionV4Type type, String cacheControl)
public PostPolicyV4.PostConditionsV4.Builder addContentDispositionCondition(PostPolicyV4.ConditionV4Type type, String contentDisposition)
public PostPolicyV4.PostConditionsV4.Builder addContentEncodingCondition(PostPolicyV4.ConditionV4Type type, String contentEncoding)
public PostPolicyV4.PostConditionsV4.Builder addContentLengthCondition(PostPolicyV4.ConditionV4Type type, int contentLength)
addContentLengthRangeCondition(int, int)
to specify a range for the content-length.public PostPolicyV4.PostConditionsV4.Builder addContentTypeCondition(PostPolicyV4.ConditionV4Type type, String contentType)
@Deprecated public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(PostPolicyV4.ConditionV4Type type, long expires)
addExpiresCondition(long)
@Deprecated public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(PostPolicyV4.ConditionV4Type type, String expires)
addExpiresCondition(String)
public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(long expires)
public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(String expires)
public PostPolicyV4.PostConditionsV4.Builder addKeyCondition(PostPolicyV4.ConditionV4Type type, String key)
public PostPolicyV4.PostConditionsV4.Builder addSuccessActionRedirectUrlCondition(PostPolicyV4.ConditionV4Type type, String successActionRedirectUrl)
@Deprecated public PostPolicyV4.PostConditionsV4.Builder addSuccessActionStatusCondition(PostPolicyV4.ConditionV4Type type, int status)
addSuccessActionStatusCondition(int)
public PostPolicyV4.PostConditionsV4.Builder addSuccessActionStatusCondition(int status)
public PostPolicyV4.PostConditionsV4.Builder addContentLengthRangeCondition(int min, int max)
Copyright © 2023 Google LLC. All rights reserved.