Class ObjectStorageObject
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeai.model.ModelDataSource
-
- com.oracle.bmc.generativeai.model.ObjectStorageObject
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public final class ObjectStorageObject extends ModelDataSourceDetails about the object storage location.
Note: Objects should always be created or deserialized using theObjectStorageObject.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 theObjectStorageObject.Builder, which maintain a set of all explicitly set fields calledObjectStorageObject.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 classObjectStorageObject.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.generativeai.model.ModelDataSource
ModelDataSource.SourceType
-
-
Constructor Summary
Constructors Constructor Description ObjectStorageObject(String namespaceName, String bucketName, String prefixName, String region)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectStorageObject.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBucketName()The name of the Object Storage bucket.StringgetNamespaceName()The namespace of the Object Storage where the files are stored.StringgetPrefixName()The prefix path (or folder) within the bucket where files are located.StringgetRegion()The full canonical Oracle Cloud region identifier (e.g., “us-ashburn-1”) where the object storage bucket containing the files resides.inthashCode()ObjectStorageObject.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ObjectStorageObject
@Deprecated public ObjectStorageObject(String namespaceName, String bucketName, String prefixName, String region)
Deprecated.
-
-
Method Detail
-
builder
public static ObjectStorageObject.Builder builder()
Create a new builder.
-
toBuilder
public ObjectStorageObject.Builder toBuilder()
-
getNamespaceName
public String getNamespaceName()
The namespace of the Object Storage where the files are stored.- Returns:
- the value
-
getBucketName
public String getBucketName()
The name of the Object Storage bucket.- Returns:
- the value
-
getPrefixName
public String getPrefixName()
The prefix path (or folder) within the bucket where files are located.- Returns:
- the value
-
getRegion
public String getRegion()
The full canonical Oracle Cloud region identifier (e.g., “us-ashburn-1”) where the object storage bucket containing the files resides.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classModelDataSource
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classModelDataSource- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classModelDataSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classModelDataSource
-
-