Class UsageDataViaObjectStorageTupleDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.adm.model.UsageDataDetails
-
- com.oracle.bmc.adm.model.UsageDataViaObjectStorageTupleDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220421") public final class UsageDataViaObjectStorageTupleDetails extends UsageDataDetails
Reference to an object in object storage as a tuple.The usage data file uploaded to object storage must be a gzip archive of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.
Note: Objects should always be created or deserialized using theUsageDataViaObjectStorageTupleDetails.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 theUsageDataViaObjectStorageTupleDetails.Builder
, which maintain a set of all explicitly set fields calledUsageDataViaObjectStorageTupleDetails.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 class
UsageDataViaObjectStorageTupleDetails.Builder
-
Constructor Summary
Constructors Constructor Description UsageDataViaObjectStorageTupleDetails(String bucketName, String namespaceName, String objectName)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageDataViaObjectStorageTupleDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBucketName()
The Object Storage bucket to read the usage data from.String
getNamespaceName()
The Object Storage namespace to read the usage data from.String
getObjectName()
The Object Storage object name to read the usage data from.int
hashCode()
UsageDataViaObjectStorageTupleDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UsageDataViaObjectStorageTupleDetails
@Deprecated public UsageDataViaObjectStorageTupleDetails(String bucketName, String namespaceName, String objectName)
Deprecated.
-
-
Method Detail
-
builder
public static UsageDataViaObjectStorageTupleDetails.Builder builder()
Create a new builder.
-
toBuilder
public UsageDataViaObjectStorageTupleDetails.Builder toBuilder()
-
getBucketName
public String getBucketName()
The Object Storage bucket to read the usage data from.- Returns:
- the value
-
getNamespaceName
public String getNamespaceName()
The Object Storage namespace to read the usage data from.- Returns:
- the value
-
getObjectName
public String getObjectName()
The Object Storage object name to read the usage data from.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classUsageDataDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUsageDataDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUsageDataDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUsageDataDetails
-
-