Class UpdateFleetAttributesRequest

    • Constructor Detail

      • UpdateFleetAttributesRequest

        public UpdateFleetAttributesRequest()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object