Send feedback
Class PostPolicyV4.PostConditionsV4.Builder (2.27.1-SNAPSHOT)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.27.1-SNAPSHOT keyboard_arrow_down
public static class PostPolicyV4 . PostConditionsV4 . Builder
Static Methods
newBuilder()
public static PostPolicyV4 . PostConditionsV4 . Builder newBuilder ()
Methods
addAclCondition(PostPolicyV4.ConditionV4Type type, String acl)
public PostPolicyV4 . PostConditionsV4 . Builder addAclCondition ( PostPolicyV4 . ConditionV4Type type , String acl )
addBucketCondition(PostPolicyV4.ConditionV4Type type, String bucket)
public PostPolicyV4 . PostConditionsV4 . Builder addBucketCondition ( PostPolicyV4 . ConditionV4Type type , String bucket )
addCacheControlCondition(PostPolicyV4.ConditionV4Type type, String cacheControl)
public PostPolicyV4 . PostConditionsV4 . Builder addCacheControlCondition ( PostPolicyV4 . ConditionV4Type type , String cacheControl )
addContentDispositionCondition(PostPolicyV4.ConditionV4Type type, String contentDisposition)
public PostPolicyV4 . PostConditionsV4 . Builder addContentDispositionCondition ( PostPolicyV4 . ConditionV4Type type , String contentDisposition )
addContentEncodingCondition(PostPolicyV4.ConditionV4Type type, String contentEncoding)
public PostPolicyV4 . PostConditionsV4 . Builder addContentEncodingCondition ( PostPolicyV4 . ConditionV4Type type , String contentEncoding )
addContentLengthCondition(PostPolicyV4.ConditionV4Type type, int contentLength) (deprecated)
public PostPolicyV4 . PostConditionsV4 . Builder addContentLengthCondition ( PostPolicyV4 . ConditionV4Type type , int contentLength )
addContentLengthRangeCondition(int min, int max)
public PostPolicyV4 . PostConditionsV4 . Builder addContentLengthRangeCondition ( int min , int max )
Parameters Name Description min
int
max
int
addContentTypeCondition(PostPolicyV4.ConditionV4Type type, String contentType)
public PostPolicyV4 . PostConditionsV4 . Builder addContentTypeCondition ( PostPolicyV4 . ConditionV4Type type , String contentType )
addExpiresCondition(PostPolicyV4.ConditionV4Type type, String expires) (deprecated)
public PostPolicyV4 . PostConditionsV4 . Builder addExpiresCondition ( PostPolicyV4 . ConditionV4Type type , String expires )
addExpiresCondition(PostPolicyV4.ConditionV4Type type, long expires) (deprecated)
public PostPolicyV4 . PostConditionsV4 . Builder addExpiresCondition ( PostPolicyV4 . ConditionV4Type type , long expires )
addExpiresCondition(String expires)
public PostPolicyV4 . PostConditionsV4 . Builder addExpiresCondition ( String expires )
Parameter Name Description expires
String
addExpiresCondition(long expires)
public PostPolicyV4 . PostConditionsV4 . Builder addExpiresCondition ( long expires )
Parameter Name Description expires
long
addKeyCondition(PostPolicyV4.ConditionV4Type type, String key)
public PostPolicyV4 . PostConditionsV4 . Builder addKeyCondition ( PostPolicyV4 . ConditionV4Type type , String key )
addSuccessActionRedirectUrlCondition(PostPolicyV4.ConditionV4Type type, String successActionRedirectUrl)
public PostPolicyV4 . PostConditionsV4 . Builder addSuccessActionRedirectUrlCondition ( PostPolicyV4 . ConditionV4Type type , String successActionRedirectUrl )
addSuccessActionStatusCondition(PostPolicyV4.ConditionV4Type type, int status) (deprecated)
public PostPolicyV4 . PostConditionsV4 . Builder addSuccessActionStatusCondition ( PostPolicyV4 . ConditionV4Type type , int status )
addSuccessActionStatusCondition(int status)
public PostPolicyV4 . PostConditionsV4 . Builder addSuccessActionStatusCondition ( int status )
Parameter Name Description status
int
build()
public PostPolicyV4 . PostConditionsV4 build ()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[],[]]