@Generated(value="OracleSDKGenerator", comments="API Version: 20191031") public final class Source extends Object
The Source object. Sources represent external locations from which applications may be imported into an OCI tenancy.
Source.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 Source.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 |
Source.Builder |
| Constructor and Description |
|---|
Source(String id,
String compartmentId,
String displayName,
String description,
Date timeCreated,
SourceLifecycleStates lifecycleState,
String lifecycleDetails,
SourceDetails sourceDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Source.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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 source.
|
String |
getDisplayName()
Human-readable name of the source.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getId()
Unique identifier (OCID) for the source
|
String |
getLifecycleDetails()
Details about the current lifecycle state
|
SourceLifecycleStates |
getLifecycleState()
The current state of the Source
|
SourceDetails |
getSourceDetails() |
Date |
getTimeCreated()
The date and time at which the source was created
|
int |
hashCode() |
Source.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","description","timeCreated","lifecycleState","lifecycleDetails","sourceDetails","freeformTags","definedTags"}) @Deprecated public Source(String id, String compartmentId, String displayName, String description, Date timeCreated, SourceLifecycleStates lifecycleState, String lifecycleDetails, SourceDetails sourceDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static Source.Builder builder()
Create a new builder.
public Source.Builder toBuilder()
public String getId()
Unique identifier (OCID) for the source
public String getCompartmentId()
Unique idenfifier (OCID) for the compartment where the Source is located.
public String getDisplayName()
Human-readable name of the source.
public String getDescription()
Description of the source.
public Date getTimeCreated()
The date and time at which the source was created
public SourceLifecycleStates getLifecycleState()
The current state of the Source
public String getLifecycleDetails()
Details about the current lifecycle state
public SourceDetails getSourceDetails()
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.