@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Script extends Object implements Serializable, Cloneable, StructuredPojo
Properties describing a Realtime script.
Related operations
Constructor and Description |
---|
Script() |
Modifier and Type | Method and Description |
---|---|
Script |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
Time stamp indicating when this data object was created.
|
String |
getName()
Descriptive label that is associated with a script.
|
String |
getScriptId()
Unique identifier for a Realtime script
|
Long |
getSizeOnDisk()
File size of the uploaded Realtime script, expressed in bytes.
|
S3Location |
getStorageLocation() |
String |
getVersion()
Version 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)
Time stamp indicating when this data object was created.
|
void |
setName(String name)
Descriptive label that is associated with a script.
|
void |
setScriptId(String scriptId)
Unique identifier for a Realtime script
|
void |
setSizeOnDisk(Long sizeOnDisk)
File size of the uploaded Realtime script, expressed in bytes.
|
void |
setStorageLocation(S3Location storageLocation) |
void |
setVersion(String version)
Version that is associated with a build or script.
|
String |
toString()
Returns a string representation of this object.
|
Script |
withCreationTime(Date creationTime)
Time stamp indicating when this data object was created.
|
Script |
withName(String name)
Descriptive label that is associated with a script.
|
Script |
withScriptId(String scriptId)
Unique identifier for a Realtime script
|
Script |
withSizeOnDisk(Long sizeOnDisk)
File size of the uploaded Realtime script, expressed in bytes.
|
Script |
withStorageLocation(S3Location storageLocation) |
Script |
withVersion(String version)
Version that is associated with a build or script.
|
public void setScriptId(String scriptId)
Unique identifier for a Realtime script
scriptId
- Unique identifier for a Realtime scriptpublic String getScriptId()
Unique identifier for a Realtime script
public Script withScriptId(String scriptId)
Unique identifier for a Realtime script
scriptId
- Unique identifier for a Realtime scriptpublic void setName(String name)
Descriptive label that is associated with a script. Script names do not need to be unique.
name
- Descriptive label that is associated with a script. Script names do not need to be unique.public String getName()
Descriptive label that is associated with a script. Script names do not need to be unique.
public Script withName(String name)
Descriptive label that is associated with a script. Script names do not need to be unique.
name
- Descriptive label that is associated with a script. Script names do not need to be unique.public void setVersion(String version)
Version that is associated with a build or script. Version strings do not need to be unique.
version
- Version that is associated with a build or script. Version strings do not need to be unique.public String getVersion()
Version that is associated with a build or script. Version strings do not need to be unique.
public Script withVersion(String version)
Version that is associated with a build or script. Version strings do not need to be unique.
version
- Version that is associated with a build or script. Version strings do not need to be unique.public void setSizeOnDisk(Long sizeOnDisk)
File size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".
sizeOnDisk
- 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()
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)
File size of the uploaded Realtime script, expressed in bytes. When files are uploaded from an S3 location, this value remains at "0".
sizeOnDisk
- 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)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- 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()
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
public Script withCreationTime(Date creationTime)
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creationTime
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.