Class GenerateGetUrlRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.filestore.GenerateGetUrlRequest.Builder
- Enclosing class:
- GenerateGetUrlRequest
- 
Field SummaryFields inherited from class com.atlassian.bitbucket.util.BuilderSupportNOT_BLANK
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()The duration for which this pre-authorized request should be valid.The namespace of the file store to which the file will be uploaded to.The path on the store to which the file will be uploaded to.responseContentDisposition(String value) Sets theContent-Dispositionheader of the response to the specified value.responseContentType(String value) Sets theContent-Typeheader of the response to the specified value.Methods inherited from class com.atlassian.bitbucket.util.BuilderSupportaddIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
build
- 
expiryThe duration for which this pre-authorized request should be valid. After this time has expired, attempting to use the URL will fail. This will be used in (for example) JWT authentication tokens or other schemes that involving pre-signing the URL such that the URL can only be used for a limited time.This is an optional field. 
- 
namespaceThe namespace of the file store to which the file will be uploaded to.The namespace permits a given store to be partitioned into multiple logical stores, one per usage type. This is a required field. 
- 
pathThe path on the store to which the file will be uploaded to.This is a required field. 
- 
responseContentDispositionSets theContent-Dispositionheader of the response to the specified value.
- 
responseContentTypeSets theContent-Typeheader of the response to the specified value.
 
-