Class PostPolicyV4.PostFieldsV4.Builder (2.9.3)
Stay organized with collections
Save and categorize content based on your preferences.
public static class PostPolicyV4.PostFieldsV4.Builder
Methods
AddCustomMetadataField(String field, String value) (deprecated)
public PostPolicyV4.PostFieldsV4.Builder AddCustomMetadataField(String field, String value)
Parameters
Returns
Expires(String expires) (deprecated)
public PostPolicyV4.PostFieldsV4.Builder Expires(String expires)
Parameter
Name |
Description |
expires |
String
|
Returns
build()
public PostPolicyV4.PostFieldsV4 build()
Returns
setAcl(String acl)
public PostPolicyV4.PostFieldsV4.Builder setAcl(String acl)
Parameter
Returns
setCacheControl(String cacheControl)
public PostPolicyV4.PostFieldsV4.Builder setCacheControl(String cacheControl)
Parameter
Name |
Description |
cacheControl |
String
|
Returns
setContentDisposition(String contentDisposition)
public PostPolicyV4.PostFieldsV4.Builder setContentDisposition(String contentDisposition)
Parameter
Name |
Description |
contentDisposition |
String
|
Returns
setContentEncoding(String contentEncoding)
public PostPolicyV4.PostFieldsV4.Builder setContentEncoding(String contentEncoding)
Parameter
Name |
Description |
contentEncoding |
String
|
Returns
setContentLength(int contentLength) (deprecated)
public PostPolicyV4.PostFieldsV4.Builder setContentLength(int contentLength)
Parameter
Name |
Description |
contentLength |
int
|
Returns
setContentType(String contentType)
public PostPolicyV4.PostFieldsV4.Builder setContentType(String contentType)
Parameter
Name |
Description |
contentType |
String
|
Returns
setCustomMetadataField(String field, String value)
public PostPolicyV4.PostFieldsV4.Builder setCustomMetadataField(String field, String value)
Parameters
Returns
setExpires(String expires)
public PostPolicyV4.PostFieldsV4.Builder setExpires(String expires)
Parameter
Name |
Description |
expires |
String
|
Returns
setSuccessActionRedirect(String successActionRedirect)
public PostPolicyV4.PostFieldsV4.Builder setSuccessActionRedirect(String successActionRedirect)
Parameter
Name |
Description |
successActionRedirect |
String
|
Returns
setSuccessActionStatus(int successActionStatus)
public PostPolicyV4.PostFieldsV4.Builder setSuccessActionStatus(int successActionStatus)
Parameter
Name |
Description |
successActionStatus |
int
|
Returns
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-08-09 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-08-09 UTC.",
"state": ""
}