Package com.oracle.bmc.apmconfig.model
Class DataFileSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmconfig.model.DataFileSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210201") public final class DataFileSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProperties related to the file.
Note: Objects should always be created or deserialized using theDataFileSummary.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 theDataFileSummary.Builder, which maintain a set of all explicitly set fields calledDataFileSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataFileSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataFileSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApmType()The type of the data file, indicating its intended use Example: source_mapStringgetMd5()Base64-encoded MD5 hash of the object data.Map<String,String>getMetadata()Metadata properties related to the data file.StringgetName()The name to use as identifier for the data file.LonggetSizeInBytes()Size of the object in bytes.DategetTimeLastModified()The last time the object was modified, as described in RFC 2616.inthashCode()DataFileSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DataFileSummary
@Deprecated @ConstructorProperties({"name","apmType","sizeInBytes","md5","timeLastModified","metadata"}) public DataFileSummary(String name, String apmType, Long sizeInBytes, String md5, Date timeLastModified, Map<String,String> metadata)
Deprecated.
-
-
Method Detail
-
builder
public static DataFileSummary.Builder builder()
Create a new builder.
-
toBuilder
public DataFileSummary.Builder toBuilder()
-
getName
public String getName()
The name to use as identifier for the data file.- Returns:
- the value
-
getApmType
public String getApmType()
The type of the data file, indicating its intended use Example: source_map- Returns:
- the value
-
getSizeInBytes
public Long getSizeInBytes()
Size of the object in bytes.- Returns:
- the value
-
getMd5
public String getMd5()
Base64-encoded MD5 hash of the object data.- Returns:
- the value
-
getTimeLastModified
public Date getTimeLastModified()
The last time the object was modified, as described in RFC 2616.Expressed in RFC 3339 timestamp format. Example: 2020-02-19T22:47:12.613Z
- Returns:
- the value
-
getMetadata
public Map<String,String> getMetadata()
Metadata properties related to the data file.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-