Class PresignedRequest.Builder
- java.lang.Object
-
- com.rivet.api.resources.upload.common.types.PresignedRequest.Builder
-
- All Implemented Interfaces:
PresignedRequest._FinalStage,PresignedRequest.PathStage,PresignedRequest.UrlStage
- Enclosing class:
- PresignedRequest
public static final class PresignedRequest.Builder extends java.lang.Object implements PresignedRequest.PathStage, PresignedRequest.UrlStage, PresignedRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresignedRequestbuild()PresignedRequest.Builderfrom(PresignedRequest other)PresignedRequest.UrlStagepath(java.lang.String path)The name of the file to upload.PresignedRequest._FinalStageurl(java.lang.String url)The URL of the presigned request for which to upload your file to.
-
-
-
Method Detail
-
from
public PresignedRequest.Builder from(PresignedRequest other)
- Specified by:
fromin interfacePresignedRequest.PathStage
-
path
public PresignedRequest.UrlStage path(java.lang.String path)
The name of the file to upload. This is the same as the one given in the upload prepare file.
- Specified by:
pathin interfacePresignedRequest.PathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
public PresignedRequest._FinalStage url(java.lang.String url)
The URL of the presigned request for which to upload your file to.
- Specified by:
urlin interfacePresignedRequest.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public PresignedRequest build()
- Specified by:
buildin interfacePresignedRequest._FinalStage
-
-