Class PostPolicyV4.PostPolicyV4Document (2.11.0)

public static final class PostPolicyV4.PostPolicyV4Document

Class for a V4 POST Policy document. Used by Storage to construct PostPolicyV4 objects. See Also: Policy document

Inheritance

java.lang.Object > PostPolicyV4.PostPolicyV4Document

Static Methods

of(String expiration, PostPolicyV4.PostConditionsV4 conditions)

public static PostPolicyV4.PostPolicyV4Document of(String expiration, PostPolicyV4.PostConditionsV4 conditions)
Parameters
NameDescription
expirationString
conditionsPostPolicyV4.PostConditionsV4
Returns
TypeDescription
PostPolicyV4.PostPolicyV4Document

Methods

toJson()

public String toJson()
Returns
TypeDescription
String