@Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public final class CreateObjectStorageSourceDetails extends CreateSourceDetails
Object Storage Source Details.
Note: Objects should always be created or deserialized using the CreateObjectStorageSourceDetails.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 CreateObjectStorageSourceDetails.Builder
, which maintain a
set of all explicitly set fields called CreateObjectStorageSourceDetails.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 |
CreateObjectStorageSourceDetails.Builder |
CreateSourceDetails.SourceType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateObjectStorageSourceDetails(String relativePath,
BigDecimal offset,
BigDecimal length)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateObjectStorageSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BigDecimal |
getLength()
The length from offset into the file containing the content.
|
BigDecimal |
getOffset()
The offset into the file containing the content.
|
String |
getRelativePath()
The path relative to the prefix specified in the dataset source details (file name).
|
int |
hashCode() |
CreateObjectStorageSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateObjectStorageSourceDetails(String relativePath, BigDecimal offset, BigDecimal length)
public static CreateObjectStorageSourceDetails.Builder builder()
Create a new builder.
public CreateObjectStorageSourceDetails.Builder toBuilder()
public String getRelativePath()
The path relative to the prefix specified in the dataset source details (file name).
public BigDecimal getOffset()
The offset into the file containing the content.
public BigDecimal getLength()
The length from offset into the file containing the content.
public String toString()
toString
in class CreateSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateSourceDetails
public int hashCode()
hashCode
in class CreateSourceDetails
Copyright © 2016–2024. All rights reserved.