@Generated(value="OracleSDKGenerator", comments="API Version: 20191031") public final class ConfigurationField extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Provide configuration information about the application in the target environment. Application
Migration migrates the application to the target environment only after you provide this
information. The information that you must provide varies depending on the type of application
that you are migrating.
Note: Objects should always be created or deserialized using the ConfigurationField.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 ConfigurationField.Builder
, which maintain a
set of all explicitly set fields called ConfigurationField.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 |
ConfigurationField.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ConfigurationField(String name,
String group,
String type,
String value,
String description,
List<ResourceField> resourceList,
Boolean isRequired,
Boolean isMutable)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationField.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDescription()
Help text to guide the user in setting the configuration value.
|
String |
getGroup()
The name of the group to which this field belongs, if any.
|
Boolean |
getIsMutable()
Indicates whether or not the field may be modified (defaults to
true ). |
Boolean |
getIsRequired()
Indicates whether or not the field is required (defaults to
true ). |
String |
getName()
The name of the configuration field.
|
List<ResourceField> |
getResourceList()
A list of resources associated with a specific configuration object.
|
String |
getType()
The type of the configuration field.
|
String |
getValue()
The value of the field.
|
int |
hashCode() |
ConfigurationField.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","group","type","value","description","resourceList","isRequired","isMutable"}) public ConfigurationField(String name, String group, String type, String value, String description, List<ResourceField> resourceList, Boolean isRequired, Boolean isMutable)
public static ConfigurationField.Builder builder()
Create a new builder.
public ConfigurationField.Builder toBuilder()
public String getName()
The name of the configuration field.
public String getGroup()
The name of the group to which this field belongs, if any.
public String getType()
The type of the configuration field.
public String getValue()
The value of the field.
public String getDescription()
Help text to guide the user in setting the configuration value.
public List<ResourceField> getResourceList()
A list of resources associated with a specific configuration object.
public Boolean getIsRequired()
Indicates whether or not the field is required (defaults to true
).
public Boolean getIsMutable()
Indicates whether or not the field may be modified (defaults to true
).
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.