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:
  • Constructor Details

    • UpdateFleetAttributesRequest

      public UpdateFleetAttributesRequest()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: