@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetComputeAuthTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetComputeAuthTokenResult() |
Modifier and Type | Method and Description |
---|---|
GetComputeAuthTokenResult |
clone() |
boolean |
equals(Object obj) |
String |
getAuthToken()
The authorization token that your game server uses to authenticate with GameLift.
|
String |
getComputeArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift compute resource and uniquely identifies it.
|
String |
getComputeName()
The name of the compute resource you are requesting the authorization token for.
|
Date |
getExpirationTimestamp()
The amount of time until the authorization token is no longer valid.
|
String |
getFleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
String |
getFleetId()
A unique identifier for the fleet that the compute is registered to.
|
int |
hashCode() |
void |
setAuthToken(String authToken)
The authorization token that your game server uses to authenticate with GameLift.
|
void |
setComputeArn(String computeArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift compute resource and uniquely identifies it.
|
void |
setComputeName(String computeName)
The name of the compute resource you are requesting the authorization token for.
|
void |
setExpirationTimestamp(Date expirationTimestamp)
The amount of time until the authorization token is no longer valid.
|
void |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
|
String |
toString()
Returns a string representation of this object.
|
GetComputeAuthTokenResult |
withAuthToken(String authToken)
The authorization token that your game server uses to authenticate with GameLift.
|
GetComputeAuthTokenResult |
withComputeArn(String computeArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift compute resource and uniquely identifies it.
|
GetComputeAuthTokenResult |
withComputeName(String computeName)
The name of the compute resource you are requesting the authorization token for.
|
GetComputeAuthTokenResult |
withExpirationTimestamp(Date expirationTimestamp)
The amount of time until the authorization token is no longer valid.
|
GetComputeAuthTokenResult |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
GetComputeAuthTokenResult |
withFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
fleetId
- A unique identifier for the fleet that the compute is registered to.public String getFleetId()
A unique identifier for the fleet that the compute is registered to.
public GetComputeAuthTokenResult withFleetId(String fleetId)
A unique identifier for the fleet that the compute is registered to.
fleetId
- A unique identifier for the fleet that the compute is registered to.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
fleetArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public String getFleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public GetComputeAuthTokenResult withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
fleetArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public void setComputeName(String computeName)
The name of the compute resource you are requesting the authorization token for.
computeName
- The name of the compute resource you are requesting the authorization token for.public String getComputeName()
The name of the compute resource you are requesting the authorization token for.
public GetComputeAuthTokenResult withComputeName(String computeName)
The name of the compute resource you are requesting the authorization token for.
computeName
- The name of the compute resource you are requesting the authorization token for.public void setComputeArn(String computeArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
computeArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
public String getComputeArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
public GetComputeAuthTokenResult withComputeArn(String computeArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
computeArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
public void setAuthToken(String authToken)
The authorization token that your game server uses to authenticate with GameLift.
authToken
- The authorization token that your game server uses to authenticate with GameLift.public String getAuthToken()
The authorization token that your game server uses to authenticate with GameLift.
public GetComputeAuthTokenResult withAuthToken(String authToken)
The authorization token that your game server uses to authenticate with GameLift.
authToken
- The authorization token that your game server uses to authenticate with GameLift.public void setExpirationTimestamp(Date expirationTimestamp)
The amount of time until the authorization token is no longer valid. To continue using the compute resource for game server hosting, renew the authorization token by using this operation again.
expirationTimestamp
- The amount of time until the authorization token is no longer valid. To continue using the compute
resource for game server hosting, renew the authorization token by using this operation again.public Date getExpirationTimestamp()
The amount of time until the authorization token is no longer valid. To continue using the compute resource for game server hosting, renew the authorization token by using this operation again.
public GetComputeAuthTokenResult withExpirationTimestamp(Date expirationTimestamp)
The amount of time until the authorization token is no longer valid. To continue using the compute resource for game server hosting, renew the authorization token by using this operation again.
expirationTimestamp
- The amount of time until the authorization token is no longer valid. To continue using the compute
resource for game server hosting, renew the authorization token by using this operation again.public String toString()
toString
in class Object
Object.toString()
public GetComputeAuthTokenResult clone()