Class 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 the TrailFileSummary.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 TrailFileSummary.Builder, which maintain a set of all explicitly set fields called TrailFileSummary.Builder.__explicitlySet__. The hashCode() and equals(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).
    • 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

      • 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
      • getConsumers

        public List<String> getConsumers()
        array of consumer process names
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel