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