public class UpdateFleetAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
UpdateFleetAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFleetAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDescription()
Human-readable description of a fleet.
|
String |
getFleetId()
Unique identifier for the fleet you want to update attribute metadata
for.
|
String |
getName()
Descriptive label associated with a 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 a 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 a 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 a 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 a 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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
fleetId
- Unique identifier for the fleet you want to update attribute
metadata for.public String getFleetId()
Unique identifier for the fleet you want to update attribute metadata for.
public UpdateFleetAttributesRequest withFleetId(String fleetId)
Unique identifier for the fleet you want to update attribute metadata for.
fleetId
- Unique identifier for the fleet you want to update attribute
metadata for.public void setName(String name)
Descriptive label associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with a fleet. Fleet names do not need
to be unique.public String getName()
Descriptive label associated with a fleet. Fleet names do not need to be unique.
public UpdateFleetAttributesRequest withName(String name)
Descriptive label associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with a fleet. Fleet names do not need
to be unique.public void setDescription(String description)
Human-readable description of a fleet.
description
- Human-readable description of a fleet.public String getDescription()
Human-readable description of a fleet.
public UpdateFleetAttributesRequest withDescription(String description)
Human-readable description of a fleet.
description
- Human-readable description of a fleet.public void setNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
ACTIVE
status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances
created in this fleet. Instances that already exist are not
affected. You can set protection for individual instances using
UpdateGameSession.
ACTIVE
status, it cannot be terminated during a
scale-down event.ProtectionPolicy
public String getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
ACTIVE
status, it cannot be terminated during a scale-down
event.ACTIVE
status, it cannot be terminated during a
scale-down event.ProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
ACTIVE
status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances
created in this fleet. Instances that already exist are not
affected. You can set protection for individual instances using
UpdateGameSession.
ACTIVE
status, it cannot be terminated during a
scale-down event.ProtectionPolicy
public void setNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
ACTIVE
status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances
created in this fleet. Instances that already exist are not
affected. You can set protection for individual instances using
UpdateGameSession.
ACTIVE
status, it cannot be terminated during a
scale-down event.ProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
ACTIVE
status, it cannot be terminated during a scale-down
event.newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances
created in this fleet. Instances that already exist are not
affected. You can set protection for individual instances using
UpdateGameSession.
ACTIVE
status, it cannot be terminated during a
scale-down event.ProtectionPolicy
public String toString()
toString
in class Object
Object.toString()
public UpdateFleetAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.