@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Script extends Object implements Serializable, Cloneable, StructuredPojo
Properties describing a Realtime script.
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
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 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() |
String |
getVersion()
Version information that is 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 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) |
void |
setVersion(String version)
Version information that is 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 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) |
Script |
withVersion(String version)
Version information that is 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 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
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 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 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
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 do not need to be unique.
name
- A descriptive label that is associated with a script. Script names do not need to be unique.public String getName()
A descriptive label that is associated with a script. Script names do not need to be unique.
public Script withName(String name)
A descriptive label that is associated with a script. Script names do not need to be unique.
name
- A descriptive label that is associated with a script. Script names do not need to be unique.public void setVersion(String version)
Version information that is associated with a build or script. Version strings do not need to be unique.
version
- Version information that is associated with a build or script. Version strings do not need to be unique.public String getVersion()
Version information that is associated with a build or script. Version strings do not need to be unique.
public Script withVersion(String version)
Version information that is associated with a build or script. Version strings do not need to be unique.
version
- Version information that is associated with a build or script. Version strings do not 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)
storageLocation
- public S3Location getStorageLocation()
public Script withStorageLocation(S3Location storageLocation)
storageLocation
- 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.