public class UpdateFleetAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
UpdateFleetAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFleetAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDescription()
Human-readable description of a fleet.
|
String |
getFleetId()
Unique identifier for the fleet you want to update attribute metadata for.
|
String |
getName()
Descriptive label associated with a fleet.
|
String |
getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all new instances created in this fleet.
|
ResourceCreationLimitPolicy |
getResourceCreationLimitPolicy()
Policy that limits the number of game sessions an individual player can create over a span of time.
|
int |
hashCode() |
void |
setDescription(String description)
Human-readable description of a fleet.
|
void |
setFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
|
void |
setName(String name)
Descriptive label associated with a fleet.
|
void |
setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet.
|
void |
setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet.
|
void |
setResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateFleetAttributesRequest |
withDescription(String description)
Human-readable description of a fleet.
|
UpdateFleetAttributesRequest |
withFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
|
UpdateFleetAttributesRequest |
withName(String name)
Descriptive label associated with a fleet.
|
UpdateFleetAttributesRequest |
withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet.
|
UpdateFleetAttributesRequest |
withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet.
|
UpdateFleetAttributesRequest |
withResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
fleetId
- Unique identifier for the fleet you want to update attribute metadata for.public String getFleetId()
Unique identifier for the fleet you want to update attribute metadata for.
public UpdateFleetAttributesRequest withFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
fleetId
- Unique identifier for the fleet you want to update attribute metadata for.public void setName(String name)
Descriptive label associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with a fleet. Fleet names do not need to be unique.public String getName()
Descriptive label associated with a fleet. Fleet names do not need to be unique.
public UpdateFleetAttributesRequest withName(String name)
Descriptive label associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with a fleet. Fleet names do not need to be unique.public void setDescription(String description)
Human-readable description of a fleet.
description
- Human-readable description of a fleet.public String getDescription()
Human-readable description of a fleet.
public UpdateFleetAttributesRequest withDescription(String description)
Human-readable description of a fleet.
description
- Human-readable description of a fleet.public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated during a
scale-down event.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances created in this fleet. Instances that already
exist are not affected. You can set protection for individual instances using
UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public String getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated during a
scale-down event.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated during a
scale-down event.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances created in this fleet. Instances that already
exist are not affected. You can set protection for individual instances using
UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public void setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated during a
scale-down event.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances created in this fleet. Instances that already
exist are not affected. You can set protection for individual instances using
UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated during a
scale-down event.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances created in this fleet. Instances that already
exist are not affected. You can set protection for individual instances using
UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
ProtectionPolicy
public void setResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Policy that limits the number of game sessions an individual player can create over a span of time.public ResourceCreationLimitPolicy getResourceCreationLimitPolicy()
Policy that limits the number of game sessions an individual player can create over a span of time.
public UpdateFleetAttributesRequest withResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Policy that limits the number of game sessions an individual player can create over a span of time.public String toString()
toString
in class Object
Object.toString()
public UpdateFleetAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.