@Generated(value="OracleSDKGenerator", comments="API Version: 20180418") public final class Archiver extends Object
Represents the current state of the stream archiver.
Note: Objects should always be created or deserialized using the Archiver.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 Archiver.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 |
Archiver.Builder |
static class |
Archiver.LifecycleState
The state of the stream archiver.
|
Constructor and Description |
---|
Archiver(Date timeCreated,
Archiver.LifecycleState lifecycleState,
String bucketName,
Boolean useExistingBucket,
ArchiverStartPosition startPosition,
Integer batchRolloverSizeInMBs,
Integer batchRolloverTimeInSeconds,
ArchiverError error)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Archiver.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getBatchRolloverSizeInMBs()
The batch rollover size in megabytes.
|
Integer |
getBatchRolloverTimeInSeconds()
The rollover time in seconds.
|
String |
getBucketName()
The name of the bucket.
|
ArchiverError |
getError() |
Archiver.LifecycleState |
getLifecycleState()
The state of the stream archiver.
|
ArchiverStartPosition |
getStartPosition()
The start message.
|
Date |
getTimeCreated()
Time when the resource was created.
|
Boolean |
getUseExistingBucket()
The flag to create a new bucket or use existing one.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"timeCreated","lifecycleState","bucketName","useExistingBucket","startPosition","batchRolloverSizeInMBs","batchRolloverTimeInSeconds","error"}) @Deprecated public Archiver(Date timeCreated, Archiver.LifecycleState lifecycleState, String bucketName, Boolean useExistingBucket, ArchiverStartPosition startPosition, Integer batchRolloverSizeInMBs, Integer batchRolloverTimeInSeconds, ArchiverError error)
public static Archiver.Builder builder()
Create a new builder.
public Date getTimeCreated()
Time when the resource was created.
public Archiver.LifecycleState getLifecycleState()
The state of the stream archiver.
public String getBucketName()
The name of the bucket.
public Boolean getUseExistingBucket()
The flag to create a new bucket or use existing one.
public ArchiverStartPosition getStartPosition()
The start message.
public Integer getBatchRolloverSizeInMBs()
The batch rollover size in megabytes.
public Integer getBatchRolloverTimeInSeconds()
The rollover time in seconds.
public ArchiverError getError()
Copyright © 2016–2020. All rights reserved.