@Generated(value="software.amazon.awssdk:codegen") public final class Script extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Script.Builder,Script>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Script.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Script.Builder |
builder() |
Instant |
creationTime()
A time stamp indicating when this data object was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A descriptive label that is associated with a script.
|
String |
scriptArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift script resource and uniquely identifies it.
|
String |
scriptId()
A unique identifier for the Realtime script
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Script.Builder> |
serializableBuilderClass() |
Long |
sizeOnDisk()
The file size of the uploaded Realtime script, expressed in bytes.
|
S3Location |
storageLocation()
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored.
|
Script.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
Version information associated with a build or script.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String scriptId()
A unique identifier for the Realtime script
public final 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.
public final String name()
A descriptive label that is associated with a script. Script names do not need to be unique.
public final String version()
Version information associated with a build or script. Version strings do not need to be unique.
public final 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".
public final Instant 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").
"1469498468.057").public final 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.
ObjectVersion
parameter to specify an earlier version.public Script.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Script.Builder,Script>public static Script.Builder builder()
public static Class<? extends Script.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.