@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFleetAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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) |
AnywhereConfiguration |
getAnywhereConfiguration()
Amazon GameLift Anywhere configuration options.
|
String |
getDescription()
A human-readable description of a fleet.
|
String |
getFleetId()
A unique identifier for the fleet to update attribute metadata for.
|
List<String> |
getMetricGroups()
The name of a metric group to add this fleet to.
|
String |
getName()
A descriptive label that is associated with a fleet.
|
String |
getNewGameSessionProtectionPolicy()
The game session protection policy to apply to all new game sessions created in this fleet.
|
ResourceCreationLimitPolicy |
getResourceCreationLimitPolicy()
Policy settings that limit the number of game sessions an individual player can create over a span of time.
|
int |
hashCode() |
void |
setAnywhereConfiguration(AnywhereConfiguration anywhereConfiguration)
Amazon GameLift Anywhere configuration options.
|
void |
setDescription(String description)
A human-readable description of a fleet.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet to update attribute metadata for.
|
void |
setMetricGroups(Collection<String> metricGroups)
The name of a metric group to add this fleet to.
|
void |
setName(String name)
A descriptive label that is associated with a fleet.
|
void |
setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
The game session protection policy to apply to all new game sessions created in this fleet.
|
void |
setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The game session protection policy to apply to all new game sessions created in this fleet.
|
void |
setResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy settings that limit the number of game sessions an individual player can create over a span of time.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFleetAttributesRequest |
withAnywhereConfiguration(AnywhereConfiguration anywhereConfiguration)
Amazon GameLift Anywhere configuration options.
|
UpdateFleetAttributesRequest |
withDescription(String description)
A human-readable description of a fleet.
|
UpdateFleetAttributesRequest |
withFleetId(String fleetId)
A unique identifier for the fleet to update attribute metadata for.
|
UpdateFleetAttributesRequest |
withMetricGroups(Collection<String> metricGroups)
The name of a metric group to add this fleet to.
|
UpdateFleetAttributesRequest |
withMetricGroups(String... metricGroups)
The name of a metric group to add this fleet to.
|
UpdateFleetAttributesRequest |
withName(String name)
A descriptive label that is associated with a fleet.
|
UpdateFleetAttributesRequest |
withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
The game session protection policy to apply to all new game sessions created in this fleet.
|
UpdateFleetAttributesRequest |
withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The game session protection policy to apply to all new game sessions created in this fleet.
|
UpdateFleetAttributesRequest |
withResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy settings that limit 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)
A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
fleetId
- A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN
value.public String getFleetId()
A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
public UpdateFleetAttributesRequest withFleetId(String fleetId)
A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
fleetId
- A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN
value.public void setName(String name)
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- A descriptive label that is associated with a fleet. Fleet names do not need to be unique.public String getName()
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
public UpdateFleetAttributesRequest withName(String name)
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- A descriptive label that is associated with a fleet. Fleet names do not need to be unique.public void setDescription(String description)
A human-readable description of a fleet.
description
- A human-readable description of a fleet.public String getDescription()
A human-readable description of a fleet.
public UpdateFleetAttributesRequest withDescription(String description)
A human-readable description of a fleet.
description
- A human-readable description of a fleet.public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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
- The game session protection policy to apply to all new game sessions created in this fleet. Game sessions
that already exist are not affected. You can set protection for individual game sessions 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()
The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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)
The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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
- The game session protection policy to apply to all new game sessions created in this fleet. Game sessions
that already exist are not affected. You can set protection for individual game sessions 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)
The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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
- The game session protection policy to apply to all new game sessions created in this fleet. Game sessions
that already exist are not affected. You can set protection for individual game sessions 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)
The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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
- The game session protection policy to apply to all new game sessions created in this fleet. Game sessions
that already exist are not affected. You can set protection for individual game sessions 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 settings that limit the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Policy settings that limit the number of game sessions an individual player can create over a span of
time.public ResourceCreationLimitPolicy getResourceCreationLimitPolicy()
Policy settings that limit the number of game sessions an individual player can create over a span of time.
public UpdateFleetAttributesRequest withResourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy settings that limit the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Policy settings that limit the number of game sessions an individual player can create over a span of
time.public List<String> getMetricGroups()
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
public void setMetricGroups(Collection<String> metricGroups)
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
metricGroups
- The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the
metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by
providing a new name. A fleet can only be in one metric group at a time.public UpdateFleetAttributesRequest withMetricGroups(String... metricGroups)
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be 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
- The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the
metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by
providing a new name. A fleet can only be in one metric group at a time.public UpdateFleetAttributesRequest withMetricGroups(Collection<String> metricGroups)
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
metricGroups
- The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the
metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by
providing a new name. A fleet can only be in one metric group at a time.public void setAnywhereConfiguration(AnywhereConfiguration anywhereConfiguration)
Amazon GameLift Anywhere configuration options.
anywhereConfiguration
- Amazon GameLift Anywhere configuration options.public AnywhereConfiguration getAnywhereConfiguration()
Amazon GameLift Anywhere configuration options.
public UpdateFleetAttributesRequest withAnywhereConfiguration(AnywhereConfiguration anywhereConfiguration)
Amazon GameLift Anywhere configuration options.
anywhereConfiguration
- Amazon GameLift Anywhere configuration options.public String toString()
toString
in class Object
Object.toString()
public UpdateFleetAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()