@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ObjectSummary extends Object
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
Note: Objects should always be created or deserialized using the ObjectSummary.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the ObjectSummary.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ObjectSummary.Builder |
Constructor and Description |
---|
ObjectSummary(String name,
Long size,
String md5,
Date timeCreated)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ObjectSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getMd5()
Base64-encoded MD5 hash of the object data.
|
String |
getName()
The name of the object.
|
Long |
getSize()
Size of the object in bytes.
|
Date |
getTimeCreated()
The date and time the object was created, as described in RFC 2616, section 14.29.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"name","size","md5","timeCreated"}) @Deprecated public ObjectSummary(String name, Long size, String md5, Date timeCreated)
public static ObjectSummary.Builder builder()
Create a new builder.
public String getName()
The name of the object. Avoid entering confidential information. Example: test/object1.log
public Long getSize()
Size of the object in bytes.
public String getMd5()
Base64-encoded MD5 hash of the object data.
public Date getTimeCreated()
The date and time the object was created, as described in RFC 2616, section 14.29.
Copyright © 2016–2019. All rights reserved.