public static interface MatchmakingConfiguration.Builder extends SdkPojo, CopyableBuilder<MatchmakingConfiguration.Builder,MatchmakingConfiguration>
Modifier and Type | Method and Description |
---|---|
MatchmakingConfiguration.Builder |
acceptanceRequired(Boolean acceptanceRequired)
Flag that determines whether or not a match that was created with this configuration must be accepted by the
matched players.
|
MatchmakingConfiguration.Builder |
acceptanceTimeoutSeconds(Integer acceptanceTimeoutSeconds)
Length of time (in seconds) to wait for players to accept a proposed match.
|
MatchmakingConfiguration.Builder |
additionalPlayerCount(Integer additionalPlayerCount)
Number of player slots in a match to keep open for future players.
|
MatchmakingConfiguration.Builder |
creationTime(Instant creationTime)
Time stamp indicating when this data object was created.
|
MatchmakingConfiguration.Builder |
customEventData(String customEventData)
Information to attached to all events related to the matchmaking configuration.
|
MatchmakingConfiguration.Builder |
description(String description)
Descriptive label that is associated with matchmaking configuration.
|
MatchmakingConfiguration.Builder |
gameProperties(Collection<GameProperty> gameProperties)
Set of custom properties for a game session, formatted as key:value pairs.
|
MatchmakingConfiguration.Builder |
gameProperties(Consumer<GameProperty.Builder>... gameProperties)
Set of custom properties for a game session, formatted as key:value pairs.
|
MatchmakingConfiguration.Builder |
gameProperties(GameProperty... gameProperties)
Set of custom properties for a game session, formatted as key:value pairs.
|
MatchmakingConfiguration.Builder |
gameSessionData(String gameSessionData)
Set of custom game session properties, formatted as a single string value.
|
MatchmakingConfiguration.Builder |
gameSessionQueueArns(Collection<String> gameSessionQueueArns)
Amazon Resource Name (ARN)
that is assigned to a game session queue and uniquely identifies it.
|
MatchmakingConfiguration.Builder |
gameSessionQueueArns(String... gameSessionQueueArns)
Amazon Resource Name (ARN)
that is assigned to a game session queue and uniquely identifies it.
|
MatchmakingConfiguration.Builder |
name(String name)
Unique identifier for a matchmaking configuration.
|
MatchmakingConfiguration.Builder |
notificationTarget(String notificationTarget)
SNS topic ARN that is set up to receive matchmaking notifications.
|
MatchmakingConfiguration.Builder |
requestTimeoutSeconds(Integer requestTimeoutSeconds)
Maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.
|
MatchmakingConfiguration.Builder |
ruleSetName(String ruleSetName)
Unique identifier for a matchmaking rule set to use with this configuration.
|
copy
applyMutation, build
MatchmakingConfiguration.Builder name(String name)
Unique identifier for a matchmaking configuration. This name is used to identify the configuration associated with a matchmaking request or ticket.
name
- Unique identifier for a matchmaking configuration. This name is used to identify the configuration
associated with a matchmaking request or ticket.MatchmakingConfiguration.Builder description(String description)
Descriptive label that is associated with matchmaking configuration.
description
- Descriptive label that is associated with matchmaking configuration.MatchmakingConfiguration.Builder gameSessionQueueArns(Collection<String> gameSessionQueueArns)
Amazon Resource Name (ARN)
that is assigned to a game session queue and uniquely identifies it. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. These queues
are used when placing game sessions for matches that are created with this matchmaking configuration. Queues
can be located in any region.
gameSessionQueueArns
- Amazon Resource Name (ARN) that is assigned to
a game session queue and uniquely identifies it. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. These
queues are used when placing game sessions for matches that are created with this matchmaking
configuration. Queues can be located in any region.MatchmakingConfiguration.Builder gameSessionQueueArns(String... gameSessionQueueArns)
Amazon Resource Name (ARN)
that is assigned to a game session queue and uniquely identifies it. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. These queues
are used when placing game sessions for matches that are created with this matchmaking configuration. Queues
can be located in any region.
gameSessionQueueArns
- Amazon Resource Name (ARN) that is assigned to
a game session queue and uniquely identifies it. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
. These
queues are used when placing game sessions for matches that are created with this matchmaking
configuration. Queues can be located in any region.MatchmakingConfiguration.Builder requestTimeoutSeconds(Integer requestTimeoutSeconds)
Maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that time out can be resubmitted as needed.
requestTimeoutSeconds
- Maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.
Requests that time out can be resubmitted as needed.MatchmakingConfiguration.Builder acceptanceTimeoutSeconds(Integer acceptanceTimeoutSeconds)
Length of time (in seconds) to wait for players to accept a proposed match. If any player rejects the match or fails to accept before the timeout, the ticket continues to look for an acceptable match.
acceptanceTimeoutSeconds
- Length of time (in seconds) to wait for players to accept a proposed match. If any player rejects the
match or fails to accept before the timeout, the ticket continues to look for an acceptable match.MatchmakingConfiguration.Builder acceptanceRequired(Boolean acceptanceRequired)
Flag that determines whether or not a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to TRUE.
acceptanceRequired
- Flag that determines whether or not a match that was created with this configuration must be accepted
by the matched players. To require acceptance, set to TRUE.MatchmakingConfiguration.Builder ruleSetName(String ruleSetName)
Unique identifier for a matchmaking rule set to use with this configuration. A matchmaking configuration can only use rule sets that are defined in the same region.
ruleSetName
- Unique identifier for a matchmaking rule set to use with this configuration. A matchmaking
configuration can only use rule sets that are defined in the same region.MatchmakingConfiguration.Builder notificationTarget(String notificationTarget)
SNS topic ARN that is set up to receive matchmaking notifications.
notificationTarget
- SNS topic ARN that is set up to receive matchmaking notifications.MatchmakingConfiguration.Builder additionalPlayerCount(Integer additionalPlayerCount)
Number of player slots in a match to keep open for future players. For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match.
additionalPlayerCount
- Number of player slots in a match to keep open for future players. For example, if the configuration's
rule set specifies a match for a single 12-person team, and the additional player count is set to 2,
only 10 players are selected for the match.MatchmakingConfiguration.Builder customEventData(String customEventData)
Information to attached to all events related to the matchmaking configuration.
customEventData
- Information to attached to all events related to the matchmaking configuration.MatchmakingConfiguration.Builder creationTime(Instant creationTime)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- Time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").MatchmakingConfiguration.Builder gameProperties(Collection<GameProperty> gameProperties)
Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match.
gameProperties
- Set of custom properties for a game session, formatted as key:value pairs. These properties are passed
to a game server process in the GameSession object with a request to start a new game session
(see Start a Game Session). This information is added to the new GameSession object that is
created for a successful match.MatchmakingConfiguration.Builder gameProperties(GameProperty... gameProperties)
Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match.
gameProperties
- Set of custom properties for a game session, formatted as key:value pairs. These properties are passed
to a game server process in the GameSession object with a request to start a new game session
(see Start a Game Session). This information is added to the new GameSession object that is
created for a successful match.MatchmakingConfiguration.Builder gameProperties(Consumer<GameProperty.Builder>... gameProperties)
Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #gameProperties(List)
.gameProperties
- a consumer that will call methods on List.Builder
#gameProperties(List)
MatchmakingConfiguration.Builder gameSessionData(String gameSessionData)
Set of custom game session properties, formatted as a single string value. This data is passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match.
gameSessionData
- Set of custom game session properties, formatted as a single string value. This data is passed to a
game server process in the GameSession object with a request to start a new game session (see
Start a Game Session). This information is added to the new GameSession object that is
created for a successful match.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.