@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocationModel extends Object implements Serializable, Cloneable, StructuredPojo
Properties of a custom location for use in an Amazon GameLift Anywhere fleet. This data type is returned in response to a call to https://docs.aws .amazon.com/gamelift/latest/apireference/API_CreateLocation.html.
Constructor and Description |
---|
LocationModel() |
Modifier and Type | Method and Description |
---|---|
LocationModel |
clone() |
boolean |
equals(Object obj) |
String |
getLocationArn()
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift location resource and uniquely identifies it.
|
String |
getLocationName()
The location's name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLocationArn(String locationArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift location resource and uniquely identifies it.
|
void |
setLocationName(String locationName)
The location's name.
|
String |
toString()
Returns a string representation of this object.
|
LocationModel |
withLocationArn(String locationArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift location resource and uniquely identifies it.
|
LocationModel |
withLocationName(String locationName)
The location's name.
|
public void setLocationName(String locationName)
The location's name.
locationName
- The location's name.public String getLocationName()
The location's name.
public LocationModel withLocationName(String locationName)
The location's name.
locationName
- The location's name.public void setLocationArn(String locationArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all
Regions. Format is
arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
locationArn
- The Amazon Resource Name (ARN) that is assigned to a
Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format
is arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public String getLocationArn()
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all
Regions. Format is
arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public LocationModel withLocationArn(String locationArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all
Regions. Format is
arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
locationArn
- The Amazon Resource Name (ARN) that is assigned to a
Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format
is arn:aws:gamelift:<region>::location/location-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public String toString()
toString
in class Object
Object.toString()
public LocationModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.