Class GameBannerUploadPrepareRequest.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.games.games.types.GameBannerUploadPrepareRequest.Builder
-
- All Implemented Interfaces:
GameBannerUploadPrepareRequest._FinalStage,GameBannerUploadPrepareRequest.PathStage
- Enclosing class:
- GameBannerUploadPrepareRequest
public static final class GameBannerUploadPrepareRequest.Builder extends java.lang.Object implements GameBannerUploadPrepareRequest.PathStage, GameBannerUploadPrepareRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameBannerUploadPrepareRequestbuild()GameBannerUploadPrepareRequest._FinalStagecontentLength(java.lang.Long contentLength)Unsigned 64 bit integer.GameBannerUploadPrepareRequest._FinalStagecontentLength(java.util.Optional<java.lang.Long> contentLength)GameBannerUploadPrepareRequest.Builderfrom(GameBannerUploadPrepareRequest other)GameBannerUploadPrepareRequest._FinalStagemime(java.lang.String mime)The MIME type of the game banner.GameBannerUploadPrepareRequest._FinalStagemime(java.util.Optional<java.lang.String> mime)GameBannerUploadPrepareRequest._FinalStagepath(java.lang.String path)The path/filename of the game banner.
-
-
-
Method Detail
-
from
public GameBannerUploadPrepareRequest.Builder from(GameBannerUploadPrepareRequest other)
- Specified by:
fromin interfaceGameBannerUploadPrepareRequest.PathStage
-
path
public GameBannerUploadPrepareRequest._FinalStage path(java.lang.String path)
The path/filename of the game banner.
- Specified by:
pathin interfaceGameBannerUploadPrepareRequest.PathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentLength
public GameBannerUploadPrepareRequest._FinalStage contentLength(java.lang.Long contentLength)
Unsigned 64 bit integer.
- Specified by:
contentLengthin interfaceGameBannerUploadPrepareRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentLength
public GameBannerUploadPrepareRequest._FinalStage contentLength(java.util.Optional<java.lang.Long> contentLength)
- Specified by:
contentLengthin interfaceGameBannerUploadPrepareRequest._FinalStage
-
mime
public GameBannerUploadPrepareRequest._FinalStage mime(java.lang.String mime)
The MIME type of the game banner.
- Specified by:
mimein interfaceGameBannerUploadPrepareRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
mime
public GameBannerUploadPrepareRequest._FinalStage mime(java.util.Optional<java.lang.String> mime)
- Specified by:
mimein interfaceGameBannerUploadPrepareRequest._FinalStage
-
build
public GameBannerUploadPrepareRequest build()
- Specified by:
buildin interfaceGameBannerUploadPrepareRequest._FinalStage
-
-