@Generated(value="OracleSDKGenerator", comments="API Version: 20181001") public class Resource extends Object
A resource that is managed by an autoscaling configuration. The only supported type is instancePool
.
Each instance pool can have one autoscaling configuration.
Note: Objects should always be created or deserialized using the 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 Builder
, which maintain a set of all explicitly set fields called
#__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
#__explicitlySet__
into account. The constructor, on the other hand, does not set #__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier | Constructor and Description |
---|---|
protected |
Resource(String id)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getId()
The OCID of the resource that is managed by the autoscaling configuration.
|
int |
hashCode() |
String |
toString() |
@Deprecated @ConstructorProperties(value="id") protected Resource(String id)
Copyright © 2016–2022. All rights reserved.