Class RegisterGameServerRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.gamelift.model.GameLiftRequest
-
- software.amazon.awssdk.services.gamelift.model.RegisterGameServerRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RegisterGameServerRequest.Builder,RegisterGameServerRequest>
@Generated("software.amazon.awssdk:codegen") public final class RegisterGameServerRequest extends GameLiftRequest implements ToCopyableBuilder<RegisterGameServerRequest.Builder,RegisterGameServerRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegisterGameServerRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegisterGameServerRequest.Builderbuilder()StringconnectionInfo()Information that is needed to make inbound client connections to the game server.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgameServerData()A set of custom game server properties, formatted as a single string value.StringgameServerGroupName()A unique identifier for the game server group where the game server is running.StringgameServerId()A custom string that uniquely identifies the game server to register.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The unique identifier for the instance where the game server is running.List<SdkField<?>>sdkFields()static Class<? extends RegisterGameServerRequest.Builder>serializableBuilderClass()RegisterGameServerRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gameServerGroupName
public final String gameServerGroupName()
A unique identifier for the game server group where the game server is running.
- Returns:
- A unique identifier for the game server group where the game server is running.
-
gameServerId
public final String gameServerId()
A custom string that uniquely identifies the game server to register. Game server IDs are developer-defined and must be unique across all game server groups in your Amazon Web Services account.
- Returns:
- A custom string that uniquely identifies the game server to register. Game server IDs are developer-defined and must be unique across all game server groups in your Amazon Web Services account.
-
instanceId
public final String instanceId()
The unique identifier for the instance where the game server is running. This ID is available in the instance metadata. EC2 instance IDs use a 17-character format, for example:
i-1234567890abcdef0.- Returns:
- The unique identifier for the instance where the game server is running. This ID is available in the
instance metadata. EC2 instance IDs use a 17-character format, for example:
i-1234567890abcdef0.
-
connectionInfo
public final String connectionInfo()
Information that is needed to make inbound client connections to the game server. This might include the IP address and port, DNS name, and other information.
- Returns:
- Information that is needed to make inbound client connections to the game server. This might include the IP address and port, DNS name, and other information.
-
gameServerData
public final String gameServerData()
A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
- Returns:
- A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
-
toBuilder
public RegisterGameServerRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisterGameServerRequest.Builder,RegisterGameServerRequest>- Specified by:
toBuilderin classGameLiftRequest
-
builder
public static RegisterGameServerRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegisterGameServerRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-