Package com.oracle.bmc.goldengate.model
Class TrailFileSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.TrailFileSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class TrailFileSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the TrailFiles.
Note: Objects should always be created or deserialized using theTrailFileSummary.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 theTrailFileSummary.Builder
, which maintain a set of all explicitly set fields calledTrailFileSummary.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 class
TrailFileSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrailFileSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getConsumers()
array of consumer process namesString
getDisplayName()
An object’s Display Name.String
getMaxSequenceNumber()
Maximum sequence numberString
getMinSequenceNumber()
Minimum sequence numberInteger
getNumberOfSequences()
Number of sequences for a specific trail fileString
getProducer()
Producer Process Name if any.Long
getSizeInBytes()
The size of the backup stored in object storage (in bytes)Date
getTimeLastUpdated()
The time the resource was last updated.String
getTrailFileId()
The TrailFile Id.int
hashCode()
TrailFileSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TrailFileSummary
@Deprecated @ConstructorProperties({"trailFileId","displayName","sizeInBytes","timeLastUpdated","numberOfSequences","minSequenceNumber","maxSequenceNumber","producer","consumers"}) public TrailFileSummary(String trailFileId, String displayName, Long sizeInBytes, Date timeLastUpdated, Integer numberOfSequences, String minSequenceNumber, String maxSequenceNumber, String producer, List<String> consumers)
Deprecated.
-
-
Method Detail
-
builder
public static TrailFileSummary.Builder builder()
Create a new builder.
-
toBuilder
public TrailFileSummary.Builder toBuilder()
-
getTrailFileId
public String getTrailFileId()
The TrailFile Id.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
An object’s Display Name.- Returns:
- the value
-
getSizeInBytes
public Long getSizeInBytes()
The size of the backup stored in object storage (in bytes)- Returns:
- the value
-
getTimeLastUpdated
public Date getTimeLastUpdated()
The time the resource was last updated.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns:
- the value
-
getNumberOfSequences
public Integer getNumberOfSequences()
Number of sequences for a specific trail file- Returns:
- the value
-
getMinSequenceNumber
public String getMinSequenceNumber()
Minimum sequence number- Returns:
- the value
-
getMaxSequenceNumber
public String getMaxSequenceNumber()
Maximum sequence number- Returns:
- the value
-
getProducer
public String getProducer()
Producer Process Name if any.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-