Package com.oracle.bmc.oda.model
Class OdaPrivateEndpointAttachment
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.oda.model.OdaPrivateEndpointAttachment
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public final class OdaPrivateEndpointAttachment extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
ODA Private Endpoint Attachment is used to attach ODA Private Endpoint to ODA (Digital Assistant) Instance.
Note: Objects should always be created or deserialized using theOdaPrivateEndpointAttachment.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 theOdaPrivateEndpointAttachment.Builder
, which maintain a set of all explicitly set fields calledOdaPrivateEndpointAttachment.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OdaPrivateEndpointAttachment.Builder
static class
OdaPrivateEndpointAttachment.LifecycleState
The current state of the ODA Private Endpoint attachment.
-
Constructor Summary
Constructors Constructor Description OdaPrivateEndpointAttachment(String id, String odaInstanceId, String odaPrivateEndpointId, String compartmentId, OdaPrivateEndpointAttachment.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OdaPrivateEndpointAttachment.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment that the ODA private endpoint attachment belongs to.String
getId()
The OCID of the ODA Private Endpoint Attachment.OdaPrivateEndpointAttachment.LifecycleState
getLifecycleState()
The current state of the ODA Private Endpoint attachment.String
getOdaInstanceId()
The OCID of the attached ODA Instance.String
getOdaPrivateEndpointId()
The OCID of the ODA Private Endpoint.Date
getTimeCreated()
When the resource was created.Date
getTimeUpdated()
When the resource was last updated.int
hashCode()
OdaPrivateEndpointAttachment.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OdaPrivateEndpointAttachment
@Deprecated @ConstructorProperties({"id","odaInstanceId","odaPrivateEndpointId","compartmentId","lifecycleState","timeCreated","timeUpdated"}) public OdaPrivateEndpointAttachment(String id, String odaInstanceId, String odaPrivateEndpointId, String compartmentId, OdaPrivateEndpointAttachment.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static OdaPrivateEndpointAttachment.Builder builder()
Create a new builder.
-
toBuilder
public OdaPrivateEndpointAttachment.Builder toBuilder()
-
getOdaInstanceId
public String getOdaInstanceId()
The OCID of the attached ODA Instance.- Returns:
- the value
-
getOdaPrivateEndpointId
public String getOdaPrivateEndpointId()
The OCID of the ODA Private Endpoint.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that the ODA private endpoint attachment belongs to.- Returns:
- the value
-
getLifecycleState
public OdaPrivateEndpointAttachment.LifecycleState getLifecycleState()
The current state of the ODA Private Endpoint attachment.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
When the resource was created.A date-time string as described in RFC 3339, section 14.29.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
When the resource was last updated.A date-time string as described in RFC 3339, section 14.29.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-