Package com.oracle.bmc.rover.model
Class RoverWorkload
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.rover.model.RoverWorkload
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201210") public final class RoverWorkload extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information about a RoverWorkload.
Note: Objects should always be created or deserialized using theRoverWorkload.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 theRoverWorkload.Builder
, which maintain a set of all explicitly set fields calledRoverWorkload.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
RoverWorkload.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoverWorkload.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment containing the workload.String
getId()
The Unique Oracle ID (OCID) that is immutable on creation.String
getName()
Name of the Rover WorkloadString
getObjectCount()
Number of objects in a workload.String
getPrefix()
Prefix to filter objects in case it is a bucket.String
getRangeEnd()
End of the range in a bucket.String
getRangeStart()
Start of the range in a bucket.String
getSize()
Size of the workload.String
getWorkloadType()
The type of workloadString
getWorkRequestId()
The compute work request id to track progress of custom image exports.int
hashCode()
RoverWorkload.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
RoverWorkload
@Deprecated @ConstructorProperties({"name","compartmentId","id","size","objectCount","prefix","rangeStart","rangeEnd","workloadType","workRequestId"}) public RoverWorkload(String name, String compartmentId, String id, String size, String objectCount, String prefix, String rangeStart, String rangeEnd, String workloadType, String workRequestId)
Deprecated.
-
-
Method Detail
-
builder
public static RoverWorkload.Builder builder()
Create a new builder.
-
toBuilder
public RoverWorkload.Builder toBuilder()
-
getName
public String getName()
Name of the Rover Workload- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment containing the workload.- Returns:
- the value
-
getId
public String getId()
The Unique Oracle ID (OCID) that is immutable on creation.- Returns:
- the value
-
getSize
public String getSize()
Size of the workload.- Returns:
- the value
-
getObjectCount
public String getObjectCount()
Number of objects in a workload.- Returns:
- the value
-
getPrefix
public String getPrefix()
Prefix to filter objects in case it is a bucket.- Returns:
- the value
-
getRangeStart
public String getRangeStart()
Start of the range in a bucket.- Returns:
- the value
-
getRangeEnd
public String getRangeEnd()
End of the range in a bucket.- Returns:
- the value
-
getWorkloadType
public String getWorkloadType()
The type of workload- Returns:
- the value
-
getWorkRequestId
public String getWorkRequestId()
The compute work request id to track progress of custom image exports.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-