@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class EnumIntegerImageCapabilityDescriptor extends ImageCapabilitySchemaDescriptor
Enum Integer type CapabilityDescriptor
Note: Objects should always be created or deserialized using the EnumIntegerImageCapabilityDescriptor.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 EnumIntegerImageCapabilityDescriptor.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 and Type | Class and Description |
---|---|
static class |
EnumIntegerImageCapabilityDescriptor.Builder |
ImageCapabilitySchemaDescriptor.Source
Constructor and Description |
---|
EnumIntegerImageCapabilityDescriptor(ImageCapabilitySchemaDescriptor.Source source,
List<Integer> values,
Integer defaultValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EnumIntegerImageCapabilityDescriptor.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getDefaultValue()
the default value
|
List<Integer> |
getValues()
the list of values for the enum
|
int |
hashCode() |
EnumIntegerImageCapabilityDescriptor.Builder |
toBuilder() |
String |
toString() |
getSource
@Deprecated public EnumIntegerImageCapabilityDescriptor(ImageCapabilitySchemaDescriptor.Source source, List<Integer> values, Integer defaultValue)
public static EnumIntegerImageCapabilityDescriptor.Builder builder()
Create a new builder.
public EnumIntegerImageCapabilityDescriptor.Builder toBuilder()
public Integer getDefaultValue()
the default value
public String toString()
toString
in class ImageCapabilitySchemaDescriptor
public boolean equals(Object o)
equals
in class ImageCapabilitySchemaDescriptor
protected boolean canEqual(Object other)
canEqual
in class ImageCapabilitySchemaDescriptor
public int hashCode()
hashCode
in class ImageCapabilitySchemaDescriptor
Copyright © 2016–2021. All rights reserved.