Package com.stripe.param
Class FileCreateParams.FileLinkData.Builder
java.lang.Object
com.stripe.param.FileCreateParams.FileLinkData.Builder
- Enclosing class:
- FileCreateParams.FileLinkData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllMetadata
(Map<String, String> map) putMetadata
(String key, String value) Add a key/value pair to `metadata` map.Set this to `true` to create a file link for the newly created file.setExpiresAt
(Long expiresAt) A future timestamp after which the link will no longer be usable.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCreate
Set this to `true` to create a file link for the newly created file. -
setExpiresAt
A future timestamp after which the link will no longer be usable. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeFileCreateParams.FileLinkData.metadata
for the field documentation. -
putAllMetadata
-