@Generated(value="OracleSDKGenerator", comments="API Version: 20191031") public final class CreateMigrationDetails extends Object
An application being migrated from a source environment to OCI.
CreateMigrationDetails.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 CreateMigrationDetails.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 |
CreateMigrationDetails.Builder |
| Constructor and Description |
|---|
CreateMigrationDetails(String compartmentId,
String displayName,
String description,
String sourceId,
String applicationName,
DiscoveryDetails discoveryDetails,
Map<String,ConfigurationField> serviceConfig,
Map<String,ConfigurationField> applicationConfig,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateMigrationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Map<String,ConfigurationField> |
getApplicationConfig()
Configuration required to migrate the application.
|
String |
getApplicationName()
Name of the application being migrated from the source.
|
String |
getCompartmentId()
Unique idenfifier (OCID) for the compartment where the Source is located.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
Description of the application.
|
DiscoveryDetails |
getDiscoveryDetails() |
String |
getDisplayName()
Human-readable name of the application.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
Map<String,ConfigurationField> |
getServiceConfig()
Configuration required to migrate the application.
|
String |
getSourceId()
Unique identifier (OCID) of the application source.
|
int |
hashCode() |
CreateMigrationDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"compartmentId","displayName","description","sourceId","applicationName","discoveryDetails","serviceConfig","applicationConfig","freeformTags","definedTags"}) @Deprecated public CreateMigrationDetails(String compartmentId, String displayName, String description, String sourceId, String applicationName, DiscoveryDetails discoveryDetails, Map<String,ConfigurationField> serviceConfig, Map<String,ConfigurationField> applicationConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static CreateMigrationDetails.Builder builder()
Create a new builder.
public CreateMigrationDetails.Builder toBuilder()
public String getCompartmentId()
Unique idenfifier (OCID) for the compartment where the Source is located.
public String getDisplayName()
Human-readable name of the application.
public String getDescription()
Description of the application.
public String getSourceId()
Unique identifier (OCID) of the application source.
public String getApplicationName()
Name of the application being migrated from the source.
public DiscoveryDetails getDiscoveryDetails()
public Map<String,ConfigurationField> getServiceConfig()
Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
public Map<String,ConfigurationField> getApplicationConfig()
Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {\"bar-key\": \"value\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
Copyright © 2016–2020. All rights reserved.