@Generated(value="OracleSDKGenerator", comments="API Version: 20191031") public final class OcicSourceDetails extends SourceDetails
Details about the Oracle Cloud Infrastructure Classic account, the source environment from which
you want to migrate the application.
Note: Objects should always be created or deserialized using the OcicSourceDetails.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 OcicSourceDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
OcicSourceDetails.Builder |
Constructor and Description |
---|
OcicSourceDetails(String region,
String computeAccount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OcicSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getComputeAccount()
If you are using an Oracle Cloud Infrastructure - Classic account with Identity Cloud Service
(IDCS), enter the service instance ID.
|
String |
getRegion()
The Oracle Cloud Infrastructure - Classic region from which you want to migrate your
applications.
|
int |
hashCode() |
OcicSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public OcicSourceDetails(String region, String computeAccount)
public static OcicSourceDetails.Builder builder()
Create a new builder.
public OcicSourceDetails.Builder toBuilder()
public String getRegion()
The Oracle Cloud Infrastructure - Classic region from which you want to migrate your applications. For example, uscom-east-1 or uscom-central-1.
public String getComputeAccount()
If you are using an Oracle Cloud Infrastructure - Classic account with Identity Cloud Service (IDCS), enter the service instance ID. For example, if Compute-567890123 is the account name of your Oracle Cloud Infrastructure Classic Compute service entitlement, then enter 567890123.
If you are using a traditional Oracle Cloud Infrastructure - Classic account, enter your identity domain ID.
public String toString()
toString
in class SourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class SourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class SourceDetails
public int hashCode()
hashCode
in class SourceDetails
Copyright © 2016–2023. All rights reserved.