- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static class PostPolicyV4.PostConditionsV4.Builder
Inherited Members
Static Methods
newBuilder()
public static PostPolicyV4.PostConditionsV4.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PostPolicyV4. |
Methods
addAclCondition(PostPolicyV4.ConditionV4Type type, String acl)
public PostPolicyV4.PostConditionsV4.Builder addAclCondition(PostPolicyV4.ConditionV4Type type, String acl)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4. |
acl | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addBucketCondition(PostPolicyV4.ConditionV4Type type, String bucket)
public PostPolicyV4.PostConditionsV4.Builder addBucketCondition(PostPolicyV4.ConditionV4Type type, String bucket)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
bucket | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addCacheControlCondition(PostPolicyV4.ConditionV4Type type, String cacheControl)
public PostPolicyV4.PostConditionsV4.Builder addCacheControlCondition(PostPolicyV4.ConditionV4Type type, String cacheControl)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
cacheControl | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addContentDispositionCondition(PostPolicyV4.ConditionV4Type type, String contentDisposition)
public PostPolicyV4.PostConditionsV4.Builder addContentDispositionCondition(PostPolicyV4.ConditionV4Type type, String contentDisposition)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
contentDisposition | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addContentEncodingCondition(PostPolicyV4.ConditionV4Type type, String contentEncoding)
public PostPolicyV4.PostConditionsV4.Builder addContentEncodingCondition(PostPolicyV4.ConditionV4Type type, String contentEncoding)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
contentEncoding | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addContentLengthCondition(PostPolicyV4.ConditionV4Type type, int contentLength) (deprecated)
public PostPolicyV4.PostConditionsV4.Builder addContentLengthCondition(PostPolicyV4.ConditionV4Type type, int contentLength)
Deprecated. Invocation of this method has no effect. Use #addContentLengthRangeCondition(int, int) to specify a range for the content-length.
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
contentLength | int |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addContentLengthRangeCondition(int min, int max)
public PostPolicyV4.PostConditionsV4.Builder addContentLengthRangeCondition(int min, int max)
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addContentTypeCondition(PostPolicyV4.ConditionV4Type type, String contentType)
public PostPolicyV4.PostConditionsV4.Builder addContentTypeCondition(PostPolicyV4.ConditionV4Type type, String contentType)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
contentType | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addExpiresCondition(PostPolicyV4.ConditionV4Type type, String expires) (deprecated)
public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(PostPolicyV4.ConditionV4Type type, String expires)
Deprecated. Use #addExpiresCondition(String)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
expires | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addExpiresCondition(PostPolicyV4.ConditionV4Type type, long expires) (deprecated)
public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(PostPolicyV4.ConditionV4Type type, long expires)
Deprecated. Use #addExpiresCondition(long)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
expires | long |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addExpiresCondition(String expires)
public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(String expires)
Parameter | |
---|---|
Name | Description |
expires | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addExpiresCondition(long expires)
public PostPolicyV4.PostConditionsV4.Builder addExpiresCondition(long expires)
Parameter | |
---|---|
Name | Description |
expires | long |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addKeyCondition(PostPolicyV4.ConditionV4Type type, String key)
public PostPolicyV4.PostConditionsV4.Builder addKeyCondition(PostPolicyV4.ConditionV4Type type, String key)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
key | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addSuccessActionRedirectUrlCondition(PostPolicyV4.ConditionV4Type type, String successActionRedirectUrl)
public PostPolicyV4.PostConditionsV4.Builder addSuccessActionRedirectUrlCondition(PostPolicyV4.ConditionV4Type type, String successActionRedirectUrl)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
successActionRedirectUrl | String |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addSuccessActionStatusCondition(PostPolicyV4.ConditionV4Type type, int status) (deprecated)
public PostPolicyV4.PostConditionsV4.Builder addSuccessActionStatusCondition(PostPolicyV4.ConditionV4Type type, int status)
Deprecated. Use #addSuccessActionStatusCondition(int)
Parameters | |
---|---|
Name | Description |
type | PostPolicyV4.ConditionV4Type |
status | int |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
addSuccessActionStatusCondition(int status)
public PostPolicyV4.PostConditionsV4.Builder addSuccessActionStatusCondition(int status)
Parameter | |
---|---|
Name | Description |
status | int |
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4.Builder |
build()
public PostPolicyV4.PostConditionsV4 build()
Returns | |
---|---|
Type | Description |
PostPolicyV4.PostConditionsV4 |