@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 EnumIntegerImageCapabilityDescriptor.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
EnumIntegerImageCapabilityDescriptor.Builder |
ImageCapabilitySchemaDescriptor.Source
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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.
|
boolean |
equals(Object o) |
Integer |
getDefaultValue()
the default value
|
List<Integer> |
getValues()
the list of values for the enum
|
int |
hashCode() |
EnumIntegerImageCapabilityDescriptor.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getSource
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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 String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ImageCapabilitySchemaDescriptor
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ImageCapabilitySchemaDescriptor
public int hashCode()
hashCode
in class ImageCapabilitySchemaDescriptor
Copyright © 2016–2024. All rights reserved.