@Generated(value="software.amazon.awssdk:codegen") public final class Script extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Script.Builder,Script>
Properties describing a Realtime script.
Related operations
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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A descriptive label that is associated with a script.
|
String |
scriptArn()
Amazon Resource Name (ARN) that is assigned to a
GameLift script resource and uniquely identifies it.
|
String |
scriptId()
A unique identifier for a 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()
Returns the value of the StorageLocation property for this object.
|
Script.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version that is associated with a build or script.
|
copy
public final String scriptId()
A unique identifier for a Realtime script
public final String scriptArn()
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()
The version that is 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. The format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public final S3Location storageLocation()
public Script.Builder toBuilder()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.