@Generated(value="OracleSDKGenerator", comments="API Version: 20191031") public final class SourceApplicationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define an application, that is running in the source environment and which
can be migrated to Oracle Cloud Infrastructure.
Note: Objects should always be created or deserialized using the SourceApplicationSummary.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 SourceApplicationSummary.Builder
, which maintain a
set of all explicitly set fields called SourceApplicationSummary.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 |
SourceApplicationSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SourceApplicationSummary(String name,
MigrationTypes type,
String sourceId,
String version,
String state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SourceApplicationSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getName()
The name of the application.
|
String |
getSourceId()
The OCID of
the source to which the application belongs.
|
String |
getState()
The current state of the application.
|
MigrationTypes |
getType()
The type of the application.
|
String |
getVersion()
The version of the application.
|
int |
hashCode() |
SourceApplicationSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","type","sourceId","version","state"}) public SourceApplicationSummary(String name, MigrationTypes type, String sourceId, String version, String state)
public static SourceApplicationSummary.Builder builder()
Create a new builder.
public SourceApplicationSummary.Builder toBuilder()
public String getName()
The name of the application.
public MigrationTypes getType()
The type of the application.
public String getSourceId()
The OCID of the source to which the application belongs.
public String getVersion()
The version of the application.
public String getState()
The current state of the application.
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.