Class CreateGameRequest.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.games.games.types.CreateGameRequest.Builder
-
- All Implemented Interfaces:
CreateGameRequest._FinalStage,CreateGameRequest.DeveloperGroupIdStage,CreateGameRequest.DisplayNameStage,CreateGameRequest.NameIdStage
- Enclosing class:
- CreateGameRequest
public static final class CreateGameRequest.Builder extends java.lang.Object implements CreateGameRequest.NameIdStage, CreateGameRequest.DisplayNameStage, CreateGameRequest.DeveloperGroupIdStage, CreateGameRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateGameRequestbuild()CreateGameRequest._FinalStagedeveloperGroupId(java.util.UUID developerGroupId)CreateGameRequest.DeveloperGroupIdStagedisplayName(java.lang.String displayName)Represent a resource's readable display name.CreateGameRequest.Builderfrom(CreateGameRequest other)CreateGameRequest.DisplayNameStagenameId(java.lang.String nameId)A human readable short identifier used to references resources.
-
-
-
Method Detail
-
from
public CreateGameRequest.Builder from(CreateGameRequest other)
- Specified by:
fromin interfaceCreateGameRequest.NameIdStage
-
nameId
public CreateGameRequest.DisplayNameStage nameId(java.lang.String nameId)
A human readable short identifier used to references resources. Different than a
rivet.common#Uuidbecause this is intended to be human readable. Different thanrivet.common#DisplayNamebecause this should not include special characters and be short.- Specified by:
nameIdin interfaceCreateGameRequest.NameIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayName
public CreateGameRequest.DeveloperGroupIdStage displayName(java.lang.String displayName)
Represent a resource's readable display name.
- Specified by:
displayNamein interfaceCreateGameRequest.DisplayNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
developerGroupId
public CreateGameRequest._FinalStage developerGroupId(java.util.UUID developerGroupId)
- Specified by:
developerGroupIdin interfaceCreateGameRequest.DeveloperGroupIdStage
-
build
public CreateGameRequest build()
- Specified by:
buildin interfaceCreateGameRequest._FinalStage
-
-