Class GameFull.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.common.types.GameFull.Builder
-
- All Implemented Interfaces:
GameFull._FinalStage,GameFull.CreateTsStage,GameFull.DeveloperGroupIdStage,GameFull.DisplayNameStage,GameFull.GameIdStage,GameFull.NameIdStage,GameFull.TotalPlayerCountStage
- Enclosing class:
- GameFull
public static final class GameFull.Builder extends java.lang.Object implements GameFull.GameIdStage, GameFull.CreateTsStage, GameFull.NameIdStage, GameFull.DisplayNameStage, GameFull.DeveloperGroupIdStage, GameFull.TotalPlayerCountStage, GameFull._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameFull._FinalStageaddAllAvailableRegions(java.util.List<RegionSummary> availableRegions)A list of region summaries.GameFull._FinalStageaddAllNamespaces(java.util.List<NamespaceSummary> namespaces)A list of namespace summaries.GameFull._FinalStageaddAllVersions(java.util.List<Summary> versions)A list of version summaries.GameFull._FinalStageaddAvailableRegions(RegionSummary availableRegions)A list of region summaries.GameFull._FinalStageaddNamespaces(NamespaceSummary namespaces)A list of namespace summaries.GameFull._FinalStageaddVersions(Summary versions)A list of version summaries.GameFull._FinalStageavailableRegions(java.util.List<RegionSummary> availableRegions)GameFull._FinalStagebannerUrl(java.lang.String bannerUrl)The URL of this game's banner image.GameFull._FinalStagebannerUrl(java.util.Optional<java.lang.String> bannerUrl)GameFullbuild()GameFull.NameIdStagecreateTs(java.time.OffsetDateTime createTs)RFC3339 timestamp.GameFull.TotalPlayerCountStagedeveloperGroupId(java.util.UUID developerGroupId)GameFull.DeveloperGroupIdStagedisplayName(java.lang.String displayName)Represent a resource's readable display name.GameFull.Builderfrom(GameFull other)GameFull.CreateTsStagegameId(java.util.UUID gameId)GameFull._FinalStagelogoUrl(java.lang.String logoUrl)The URL of this game's logo image.GameFull._FinalStagelogoUrl(java.util.Optional<java.lang.String> logoUrl)GameFull.DisplayNameStagenameId(java.lang.String nameId)A human readable short identifier used to references resources.GameFull._FinalStagenamespaces(java.util.List<NamespaceSummary> namespaces)GameFull._FinalStagetotalPlayerCount(int totalPlayerCount)Unsigned 32 bit integer.GameFull._FinalStageversions(java.util.List<Summary> versions)
-
-
-
Method Detail
-
from
public GameFull.Builder from(GameFull other)
- Specified by:
fromin interfaceGameFull.GameIdStage
-
gameId
public GameFull.CreateTsStage gameId(java.util.UUID gameId)
- Specified by:
gameIdin interfaceGameFull.GameIdStage
-
createTs
public GameFull.NameIdStage createTs(java.time.OffsetDateTime createTs)
RFC3339 timestamp.
- Specified by:
createTsin interfaceGameFull.CreateTsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
nameId
public GameFull.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 interfaceGameFull.NameIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayName
public GameFull.DeveloperGroupIdStage displayName(java.lang.String displayName)
Represent a resource's readable display name.
- Specified by:
displayNamein interfaceGameFull.DisplayNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
developerGroupId
public GameFull.TotalPlayerCountStage developerGroupId(java.util.UUID developerGroupId)
- Specified by:
developerGroupIdin interfaceGameFull.DeveloperGroupIdStage
-
totalPlayerCount
public GameFull._FinalStage totalPlayerCount(int totalPlayerCount)
Unsigned 32 bit integer.
- Specified by:
totalPlayerCountin interfaceGameFull.TotalPlayerCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllAvailableRegions
public GameFull._FinalStage addAllAvailableRegions(java.util.List<RegionSummary> availableRegions)
A list of region summaries.
- Specified by:
addAllAvailableRegionsin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAvailableRegions
public GameFull._FinalStage addAvailableRegions(RegionSummary availableRegions)
A list of region summaries.
- Specified by:
addAvailableRegionsin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
availableRegions
public GameFull._FinalStage availableRegions(java.util.List<RegionSummary> availableRegions)
- Specified by:
availableRegionsin interfaceGameFull._FinalStage
-
addAllVersions
public GameFull._FinalStage addAllVersions(java.util.List<Summary> versions)
A list of version summaries.
- Specified by:
addAllVersionsin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addVersions
public GameFull._FinalStage addVersions(Summary versions)
A list of version summaries.
- Specified by:
addVersionsin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
versions
public GameFull._FinalStage versions(java.util.List<Summary> versions)
- Specified by:
versionsin interfaceGameFull._FinalStage
-
addAllNamespaces
public GameFull._FinalStage addAllNamespaces(java.util.List<NamespaceSummary> namespaces)
A list of namespace summaries.
- Specified by:
addAllNamespacesin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addNamespaces
public GameFull._FinalStage addNamespaces(NamespaceSummary namespaces)
A list of namespace summaries.
- Specified by:
addNamespacesin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
namespaces
public GameFull._FinalStage namespaces(java.util.List<NamespaceSummary> namespaces)
- Specified by:
namespacesin interfaceGameFull._FinalStage
-
bannerUrl
public GameFull._FinalStage bannerUrl(java.lang.String bannerUrl)
The URL of this game's banner image.
- Specified by:
bannerUrlin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
bannerUrl
public GameFull._FinalStage bannerUrl(java.util.Optional<java.lang.String> bannerUrl)
- Specified by:
bannerUrlin interfaceGameFull._FinalStage
-
logoUrl
public GameFull._FinalStage logoUrl(java.lang.String logoUrl)
The URL of this game's logo image.
- Specified by:
logoUrlin interfaceGameFull._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
logoUrl
public GameFull._FinalStage logoUrl(java.util.Optional<java.lang.String> logoUrl)
- Specified by:
logoUrlin interfaceGameFull._FinalStage
-
build
public GameFull build()
- Specified by:
buildin interfaceGameFull._FinalStage
-
-