@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3ObjectDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Amazon S3 object.
Constructor and Description |
---|
AwsS3ObjectDetails() |
Modifier and Type | Method and Description |
---|---|
AwsS3ObjectDetails |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
A standard MIME type describing the format of the object data.
|
String |
getETag()
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
|
String |
getLastModified()
Indicates when the object was last modified.
|
String |
getServerSideEncryption()
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when
storing this object in Amazon S3.
|
String |
getSSEKMSKeyId()
The identifier of the KMS symmetric customer managed key that was used for the object.
|
String |
getVersionId()
The version of the object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentType(String contentType)
A standard MIME type describing the format of the object data.
|
void |
setETag(String eTag)
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
|
void |
setLastModified(String lastModified)
Indicates when the object was last modified.
|
void |
setServerSideEncryption(String serverSideEncryption)
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when
storing this object in Amazon S3.
|
void |
setSSEKMSKeyId(String sSEKMSKeyId)
The identifier of the KMS symmetric customer managed key that was used for the object.
|
void |
setVersionId(String versionId)
The version of the object.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3ObjectDetails |
withContentType(String contentType)
A standard MIME type describing the format of the object data.
|
AwsS3ObjectDetails |
withETag(String eTag)
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
|
AwsS3ObjectDetails |
withLastModified(String lastModified)
Indicates when the object was last modified.
|
AwsS3ObjectDetails |
withServerSideEncryption(String serverSideEncryption)
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when
storing this object in Amazon S3.
|
AwsS3ObjectDetails |
withSSEKMSKeyId(String sSEKMSKeyId)
The identifier of the KMS symmetric customer managed key that was used for the object.
|
AwsS3ObjectDetails |
withVersionId(String versionId)
The version of the object.
|
public void setLastModified(String lastModified)
Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
lastModified
- Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getLastModified()
Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsS3ObjectDetails withLastModified(String lastModified)
Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
lastModified
- Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setETag(String eTag)
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
eTag
- The opaque identifier assigned by a web server to a specific version of a resource found at a URL.public String getETag()
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
public AwsS3ObjectDetails withETag(String eTag)
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
eTag
- The opaque identifier assigned by a web server to a specific version of a resource found at a URL.public void setVersionId(String versionId)
The version of the object.
versionId
- The version of the object.public String getVersionId()
The version of the object.
public AwsS3ObjectDetails withVersionId(String versionId)
The version of the object.
versionId
- The version of the object.public void setContentType(String contentType)
A standard MIME type describing the format of the object data.
contentType
- A standard MIME type describing the format of the object data.public String getContentType()
A standard MIME type describing the format of the object data.
public AwsS3ObjectDetails withContentType(String contentType)
A standard MIME type describing the format of the object data.
contentType
- A standard MIME type describing the format of the object data.public void setServerSideEncryption(String serverSideEncryption)
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
serverSideEncryption
- If the object is stored using server-side encryption, the value of the server-side encryption algorithm
used when storing this object in Amazon S3.public String getServerSideEncryption()
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
public AwsS3ObjectDetails withServerSideEncryption(String serverSideEncryption)
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
serverSideEncryption
- If the object is stored using server-side encryption, the value of the server-side encryption algorithm
used when storing this object in Amazon S3.public void setSSEKMSKeyId(String sSEKMSKeyId)
The identifier of the KMS symmetric customer managed key that was used for the object.
sSEKMSKeyId
- The identifier of the KMS symmetric customer managed key that was used for the object.public String getSSEKMSKeyId()
The identifier of the KMS symmetric customer managed key that was used for the object.
public AwsS3ObjectDetails withSSEKMSKeyId(String sSEKMSKeyId)
The identifier of the KMS symmetric customer managed key that was used for the object.
sSEKMSKeyId
- The identifier of the KMS symmetric customer managed key that was used for the object.public String toString()
toString
in class Object
Object.toString()
public AwsS3ObjectDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.