@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Object extends Object implements Serializable, Cloneable, StructuredPojo
Object stored in S3 containing ephemeris data.
| Constructor and Description |
|---|
S3Object() |
| Modifier and Type | Method and Description |
|---|---|
S3Object |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
An Amazon S3 Bucket name.
|
String |
getKey()
An Amazon S3 key for the ephemeris.
|
String |
getVersion()
For versioned S3 objects, the version to use for the ephemeris.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBucket(String bucket)
An Amazon S3 Bucket name.
|
void |
setKey(String key)
An Amazon S3 key for the ephemeris.
|
void |
setVersion(String version)
For versioned S3 objects, the version to use for the ephemeris.
|
String |
toString()
Returns a string representation of this object.
|
S3Object |
withBucket(String bucket)
An Amazon S3 Bucket name.
|
S3Object |
withKey(String key)
An Amazon S3 key for the ephemeris.
|
S3Object |
withVersion(String version)
For versioned S3 objects, the version to use for the ephemeris.
|
public void setBucket(String bucket)
An Amazon S3 Bucket name.
bucket - An Amazon S3 Bucket name.public String getBucket()
An Amazon S3 Bucket name.
public S3Object withBucket(String bucket)
An Amazon S3 Bucket name.
bucket - An Amazon S3 Bucket name.public void setKey(String key)
An Amazon S3 key for the ephemeris.
key - An Amazon S3 key for the ephemeris.public String getKey()
An Amazon S3 key for the ephemeris.
public S3Object withKey(String key)
An Amazon S3 key for the ephemeris.
key - An Amazon S3 key for the ephemeris.public void setVersion(String version)
For versioned S3 objects, the version to use for the ephemeris.
version - For versioned S3 objects, the version to use for the ephemeris.public String getVersion()
For versioned S3 objects, the version to use for the ephemeris.
public S3Object withVersion(String version)
For versioned S3 objects, the version to use for the ephemeris.
version - For versioned S3 objects, the version to use for the ephemeris.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.