public class UpdateFleetAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
Human-readable description of the fleet.
|
private java.lang.String |
fleetId
Unique identifier for the fleet you want to update attribute metadata
for.
|
private java.lang.String |
name
Descriptive label associated with this fleet.
|
private java.lang.String |
newGameSessionProtectionPolicy
Game session protection policy to apply to all new instances created in
this fleet.
|
NOOP
Constructor and Description |
---|
UpdateFleetAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFleetAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Human-readable description of the fleet.
|
java.lang.String |
getFleetId()
Unique identifier for the fleet you want to update attribute metadata
for.
|
java.lang.String |
getName()
Descriptive label associated with this fleet.
|
java.lang.String |
getNewGameSessionProtectionPolicy()
Game session protection policy to apply to all new instances created in
this fleet.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Human-readable description of the fleet.
|
void |
setFleetId(java.lang.String fleetId)
Unique identifier for the fleet you want to update attribute metadata
for.
|
void |
setName(java.lang.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(java.lang.String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in
this fleet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateFleetAttributesRequest |
withDescription(java.lang.String description)
Human-readable description of the fleet.
|
UpdateFleetAttributesRequest |
withFleetId(java.lang.String fleetId)
Unique identifier for the fleet you want to update attribute metadata
for.
|
UpdateFleetAttributesRequest |
withName(java.lang.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(java.lang.String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in
this fleet.
|
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
private java.lang.String fleetId
Unique identifier for the fleet you want to update attribute metadata for.
private java.lang.String name
Descriptive label associated with this fleet. Fleet names do not need to be unique.
private java.lang.String description
Human-readable description of the fleet.
private java.lang.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.
public void setFleetId(java.lang.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 java.lang.String getFleetId()
Unique identifier for the fleet you want to update attribute metadata for.
public UpdateFleetAttributesRequest withFleetId(java.lang.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(java.lang.String name)
Descriptive label associated with this fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with this fleet. Fleet names do not
need to be unique.public java.lang.String getName()
Descriptive label associated with this fleet. Fleet names do not need to be unique.
public UpdateFleetAttributesRequest withName(java.lang.String name)
Descriptive label associated with this fleet. Fleet names do not need to be unique.
name
- Descriptive label associated with this fleet. Fleet names do not
need to be unique.public void setDescription(java.lang.String description)
Human-readable description of the fleet.
description
- Human-readable description of the fleet.public java.lang.String getDescription()
Human-readable description of the fleet.
public UpdateFleetAttributesRequest withDescription(java.lang.String description)
Human-readable description of the fleet.
description
- Human-readable description of the fleet.public void setNewGameSessionProtectionPolicy(java.lang.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.
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.
ProtectionPolicy
public java.lang.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.
ProtectionPolicy
public UpdateFleetAttributesRequest withNewGameSessionProtectionPolicy(java.lang.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.
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.
ProtectionPolicy
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.
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.
ProtectionPolicy
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.
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.
ProtectionPolicy
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateFleetAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()