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 UpdateFleetAttributesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDescription()
Human-readable description of the fleet.String
getFleetId()
Unique identifier for the fleet you want to update attribute metadata for.String
getName()
Descriptive label associated with this fleet.String
getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all new instances created in this fleet.int
hashCode()
void
setDescription(String description)
Human-readable description of the 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 this 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.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateFleetAttributesRequest
withDescription(String description)
Human-readable description of the 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 this 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.-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateFleetAttributesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-