@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
Human-readable description of a fleet.
|
String |
getFleetId()
Unique identifier for a fleet to update attribute metadata for.
|
List<String> |
getMetricGroups()
Names of metric groups to include this fleet in.
|
String |
getName()
Descriptive label that is 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 a fleet to update attribute metadata for.
|
void |
setMetricGroups(Collection<String> metricGroups)
Names of metric groups to include this fleet in.
|
void |
setName(String name)
Descriptive label that is 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 a fleet to update attribute metadata for.
|
UpdateFleetAttributesRequest |
withMetricGroups(Collection<String> metricGroups)
Names of metric groups to include this fleet in.
|
UpdateFleetAttributesRequest |
withMetricGroups(String... metricGroups)
Names of metric groups to include this fleet in.
|
UpdateFleetAttributesRequest |
withName(String name)
Descriptive label that is 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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFleetId(String fleetId)
Unique identifier for a fleet to update attribute metadata for.
fleetId
- Unique identifier for a fleet to update attribute metadata for.public String getFleetId()
Unique identifier for a fleet to update attribute metadata for.
public UpdateFleetAttributesRequest withFleetId(String fleetId)
Unique identifier for a fleet to update attribute metadata for.
fleetId
- Unique identifier for a fleet to update attribute metadata for.public void setName(String name)
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label that is associated with a fleet. Fleet names do not need to be unique.public String getName()
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
public UpdateFleetAttributesRequest withName(String name)
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label that is 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 List<String> getMetricGroups()
Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time.
public void setMetricGroups(Collection<String> metricGroups)
Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time.
metricGroups
- Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to
aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group.
Or use a new name to create a new metric group. A fleet can only be included in one metric group at a
time.public UpdateFleetAttributesRequest withMetricGroups(String... metricGroups)
Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time.
NOTE: This method appends the values to the existing list (if any). Use
setMetricGroups(java.util.Collection)
or withMetricGroups(java.util.Collection)
if you want to
override the existing values.
metricGroups
- Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to
aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group.
Or use a new name to create a new metric group. A fleet can only be included in one metric group at a
time.public UpdateFleetAttributesRequest withMetricGroups(Collection<String> metricGroups)
Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time.
metricGroups
- Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to
aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group.
Or use a new name to create a new metric group. A fleet can only be included in one metric group at a
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.