Class UpdateFleetAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.gamelift.model.UpdateFleetAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateFleetAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateFleetAttributesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFleetAttributesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDescription()Human-readable description of the fleet.StringgetFleetId()Unique identifier for the fleet you want to update attribute metadata for.StringgetName()Descriptive label associated with this fleet.StringgetNewGameSessionProtectionPolicy()Game session protection policy to apply to all new instances created in this fleet.inthashCode()voidsetDescription(String description)Human-readable description of the fleet.voidsetFleetId(String fleetId)Unique identifier for the fleet you want to update attribute metadata for.voidsetName(String name)Descriptive label associated with this fleet.voidsetNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)Game session protection policy to apply to all new instances created in this fleet.voidsetNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)Game session protection policy to apply to all new instances created in this fleet.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateFleetAttributesRequestwithDescription(String description)Human-readable description of the fleet.UpdateFleetAttributesRequestwithFleetId(String fleetId)Unique identifier for the fleet you want to update attribute metadata for.UpdateFleetAttributesRequestwithName(String name)Descriptive label associated with this fleet.UpdateFleetAttributesRequestwithNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)Game session protection policy to apply to all new instances created in this fleet.UpdateFleetAttributesRequestwithNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)Game session protection policy to apply to all new instances created in this fleet.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setFleetId
public void setFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
- Parameters:
fleetId- Unique identifier for the fleet you want to update attribute metadata for.
-
getFleetId
public String getFleetId()
Unique identifier for the fleet you want to update attribute metadata for.
- Returns:
- Unique identifier for the fleet you want to update attribute metadata for.
-
withFleetId
public UpdateFleetAttributesRequest withFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
- Parameters:
fleetId- Unique identifier for the fleet you want to update attribute metadata for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
Descriptive label associated with this fleet. Fleet names do not need to be unique.
- Parameters:
name- Descriptive label associated with this fleet. Fleet names do not need to be unique.
-
getName
public String getName()
Descriptive label associated with this fleet. Fleet names do not need to be unique.
- Returns:
- Descriptive label associated with this fleet. Fleet names do not need to be unique.
-
withName
public UpdateFleetAttributesRequest withName(String name)
Descriptive label associated with this fleet. Fleet names do not need to be unique.
- Parameters:
name- Descriptive label associated with this fleet. Fleet names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Human-readable description of the fleet.
- Parameters:
description- Human-readable description of the fleet.
-
getDescription
public String getDescription()
Human-readable description of the fleet.
- Returns:
- Human-readable description of the fleet.
-
withDescription
public UpdateFleetAttributesRequest withDescription(String description)
Human-readable description of the fleet.
- Parameters:
description- Human-readable description of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNewGameSessionProtectionPolicy
public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Parameters:
newGameSessionProtectionPolicy- Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- See Also:
ProtectionPolicy
-
getNewGameSessionProtectionPolicy
public String getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Returns:
- Game session protection policy to apply to all new instances
created in this fleet. Instances that already exist will not be
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.
- See Also:
ProtectionPolicy
-
withNewGameSessionProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Parameters:
newGameSessionProtectionPolicy- Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProtectionPolicy
-
setNewGameSessionProtectionPolicy
public void setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Parameters:
newGameSessionProtectionPolicy- Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- See Also:
ProtectionPolicy
-
withNewGameSessionProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Parameters:
newGameSessionProtectionPolicy- Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProtectionPolicy
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateFleetAttributesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-