@Generated(value="OracleSDKGenerator", comments="API Version: 20200909") public final class ObjectStorageTargetDetails extends TargetDetails
The bucket used for the Object Storage target. For configuration instructions, see To create a
service
connector.
Note: Objects should always be created or deserialized using the ObjectStorageTargetDetails.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 ObjectStorageTargetDetails.Builder
, which maintain a
set of all explicitly set fields called ObjectStorageTargetDetails.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
).
Modifier and Type | Class and Description |
---|---|
static class |
ObjectStorageTargetDetails.Builder |
TargetDetails.Kind
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ObjectStorageTargetDetails(String namespace,
String bucketName,
String objectNamePrefix,
Integer batchRolloverSizeInMBs,
Integer batchRolloverTimeInMs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ObjectStorageTargetDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getBatchRolloverSizeInMBs()
The batch rollover size in megabytes.
|
Integer |
getBatchRolloverTimeInMs()
The batch rollover time in milliseconds.
|
String |
getBucketName()
The name of the bucket.
|
String |
getNamespace()
The namespace.
|
String |
getObjectNamePrefix()
The prefix of the objects.
|
int |
hashCode() |
ObjectStorageTargetDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static ObjectStorageTargetDetails.Builder builder()
Create a new builder.
public ObjectStorageTargetDetails.Builder toBuilder()
public String getNamespace()
The namespace.
public String getBucketName()
The name of the bucket. Avoid entering confidential information.
public String getObjectNamePrefix()
The prefix of the objects. Avoid entering confidential information.
public Integer getBatchRolloverSizeInMBs()
The batch rollover size in megabytes.
public Integer getBatchRolloverTimeInMs()
The batch rollover time in milliseconds.
public String toString()
toString
in class TargetDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class TargetDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class TargetDetails
public int hashCode()
hashCode
in class TargetDetails
Copyright © 2016–2023. All rights reserved.