Class PrepareCustomAvatarUploadRequest.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.games.avatars.types.PrepareCustomAvatarUploadRequest.Builder
-
- All Implemented Interfaces:
PrepareCustomAvatarUploadRequest._FinalStage,PrepareCustomAvatarUploadRequest.PathStage
- Enclosing class:
- PrepareCustomAvatarUploadRequest
public static final class PrepareCustomAvatarUploadRequest.Builder extends java.lang.Object implements PrepareCustomAvatarUploadRequest.PathStage, PrepareCustomAvatarUploadRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrepareCustomAvatarUploadRequestbuild()PrepareCustomAvatarUploadRequest._FinalStagecontentLength(java.lang.Long contentLength)Unsigned 64 bit integer.PrepareCustomAvatarUploadRequest._FinalStagecontentLength(java.util.Optional<java.lang.Long> contentLength)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._FinalStagepath(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._FinalStage 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(java.lang.Long contentLength)
Unsigned 64 bit integer.
- Specified by:
contentLengthin interfacePrepareCustomAvatarUploadRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentLength
public PrepareCustomAvatarUploadRequest._FinalStage contentLength(java.util.Optional<java.lang.Long> contentLength)
- Specified by:
contentLengthin interfacePrepareCustomAvatarUploadRequest._FinalStage
-
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
-
-