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.ExplicitlySetBmcModelODA 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 SummaryNested Classes Modifier and Type Class Description static classOdaPrivateEndpointAttachment.Builderstatic classOdaPrivateEndpointAttachment.LifecycleStateThe current state of the ODA Private Endpoint attachment.
 - 
Constructor SummaryConstructors Constructor Description OdaPrivateEndpointAttachment(String id, String odaInstanceId, String odaPrivateEndpointId, String compartmentId, OdaPrivateEndpointAttachment.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OdaPrivateEndpointAttachment.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment that the ODA private endpoint attachment belongs to.StringgetId()The OCID of the ODA Private Endpoint Attachment.OdaPrivateEndpointAttachment.LifecycleStategetLifecycleState()The current state of the ODA Private Endpoint attachment.StringgetOdaInstanceId()The OCID of the attached ODA Instance.StringgetOdaPrivateEndpointId()The OCID of the ODA Private Endpoint.DategetTimeCreated()When the resource was created.DategetTimeUpdated()When the resource was last updated.inthashCode()OdaPrivateEndpointAttachment.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static OdaPrivateEndpointAttachment.Builder builder() Create a new builder.
 - 
toBuilderpublic OdaPrivateEndpointAttachment.Builder toBuilder() 
 - 
getOdaInstanceIdpublic String getOdaInstanceId() The OCID of the attached ODA Instance.- Returns:
- the value
 
 - 
getOdaPrivateEndpointIdpublic String getOdaPrivateEndpointId() The OCID of the ODA Private Endpoint.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment that the ODA private endpoint attachment belongs to.- Returns:
- the value
 
 - 
getLifecycleStatepublic OdaPrivateEndpointAttachment.LifecycleState getLifecycleState() The current state of the ODA Private Endpoint attachment.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() When the resource was created.A date-time string as described in RFC 3339, section 14.29. - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() When the resource was last updated.A date-time string as described in RFC 3339, section 14.29. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-