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