@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Script extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Script() |
Modifier and Type | Method and Description |
---|---|
Script |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
A time stamp indicating when this data object was created.
|
String |
getName()
A descriptive label that is associated with a script.
|
String |
getScriptArn()
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift script resource and uniquely identifies it.
|
String |
getScriptId()
A unique identifier for the Realtime script
|
Long |
getSizeOnDisk()
The file size of the uploaded Realtime script, expressed in bytes.
|
S3Location |
getStorageLocation()
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.
|
String |
getVersion()
Version information associated with a build or script.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
A time stamp indicating when this data object was created.
|
void |
setName(String name)
A descriptive label that is associated with a script.
|
void |
setScriptArn(String scriptArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift script resource and uniquely identifies it.
|
void |
setScriptId(String scriptId)
A unique identifier for the Realtime script
|
void |
setSizeOnDisk(Long sizeOnDisk)
The file size of the uploaded Realtime script, expressed in bytes.
|
void |
setStorageLocation(S3Location storageLocation)
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.
|
void |
setVersion(String version)
Version information associated with a build or script.
|
String |
toString()
Returns a string representation of this object.
|
Script |
withCreationTime(Date creationTime)
A time stamp indicating when this data object was created.
|
Script |
withName(String name)
A descriptive label that is associated with a script.
|
Script |
withScriptArn(String scriptArn)
The Amazon Resource Name (ARN)
that is assigned to a Amazon GameLift script resource and uniquely identifies it.
|
Script |
withScriptId(String scriptId)
A unique identifier for the Realtime script
|
Script |
withSizeOnDisk(Long sizeOnDisk)
The file size of the uploaded Realtime script, expressed in bytes.
|
Script |
withStorageLocation(S3Location storageLocation)
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.
|
Script |
withVersion(String version)
Version information associated with a build or script.
|
public void setScriptId(String scriptId)
A unique identifier for the Realtime script
scriptId
- A unique identifier for the Realtime scriptpublic String getScriptId()
A unique identifier for the Realtime script
public Script withScriptId(String scriptId)
A unique identifier for the Realtime script
scriptId
- A unique identifier for the Realtime scriptpublic void setScriptArn(String scriptArn)
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.
scriptArn
- The Amazon Resource Name (ARN) that is assigned to a
Amazon GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a
GameLift script ARN, the resource ID matches the ScriptId value.public String getScriptArn()
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.
public Script withScriptArn(String scriptArn)
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift script ARN, the resource ID matches the ScriptId value.
scriptArn
- The Amazon Resource Name (ARN) that is assigned to a
Amazon GameLift script resource and uniquely identifies it. ARNs are unique across all Regions. In a
GameLift script ARN, the resource ID matches the ScriptId value.public void setName(String name)
A descriptive label that is associated with a script. Script names don't need to be unique.
name
- A descriptive label that is associated with a script. Script names don't need to be unique.public String getName()
A descriptive label that is associated with a script. Script names don't need to be unique.
public Script withName(String name)
A descriptive label that is associated with a script. Script names don't need to be unique.
name
- A descriptive label that is associated with a script. Script names don't need to be unique.public void setVersion(String version)
Version information associated with a build or script. Version strings don't need to be unique.
version
- Version information associated with a build or script. Version strings don't need to be unique.public String getVersion()
Version information associated with a build or script. Version strings don't need to be unique.
public Script withVersion(String version)
Version information associated with a build or script. Version strings don't need to be unique.
version
- Version information associated with a build or script. Version strings don't need to be unique.public void setSizeOnDisk(Long sizeOnDisk)
The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".
sizeOnDisk
- The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3
location, this value remains at "0".public Long getSizeOnDisk()
The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".
public Script withSizeOnDisk(Long sizeOnDisk)
The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".
sizeOnDisk
- The file size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3
location, this value remains at "0".public void setCreationTime(Date creationTime)
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
creationTime
- A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).public Date getCreationTime()
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
"1469498468.057"
).public Script withCreationTime(Date creationTime)
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).
creationTime
- A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057"
).public void setStorageLocation(S3Location storageLocation)
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage
location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon
GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to
create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3
object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
storageLocation
- The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The
storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN
that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same
Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of
the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.public S3Location getStorageLocation()
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage
location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon
GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to
create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3
object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
ObjectVersion
parameter to specify an earlier version.public Script withStorageLocation(S3Location storageLocation)
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage
location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon
GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to
create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3
object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
storageLocation
- The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The
storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN
that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same
Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of
the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.