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.ExplicitlySetBmcModelInformation 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 classRoverWorkload.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoverWorkload.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment containing the workload.StringgetId()The Unique Oracle ID (OCID) that is immutable on creation.StringgetName()Name of the Rover WorkloadStringgetObjectCount()Number of objects in a workload.StringgetPrefix()Prefix to filter objects in case it is a bucket.StringgetRangeEnd()End of the range in a bucket.StringgetRangeStart()Start of the range in a bucket.StringgetSize()Size of the workload.StringgetWorkloadType()The type of workloadStringgetWorkRequestId()The compute work request id to track progress of custom image exports.inthashCode()RoverWorkload.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-