Package com.oracle.bmc.oda.model
Class OdaPrivateEndpointAttachmentSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.oda.model.OdaPrivateEndpointAttachmentSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public final class OdaPrivateEndpointAttachmentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of the ODA private endpoint attachment.
Note: Objects should always be created or deserialized using theOdaPrivateEndpointAttachmentSummary.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 theOdaPrivateEndpointAttachmentSummary.Builder, which maintain a set of all explicitly set fields calledOdaPrivateEndpointAttachmentSummary.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 classOdaPrivateEndpointAttachmentSummary.Builder
-
Constructor Summary
Constructors Constructor Description OdaPrivateEndpointAttachmentSummary(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 OdaPrivateEndpointAttachmentSummary.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()OdaPrivateEndpointAttachmentSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OdaPrivateEndpointAttachmentSummary
@Deprecated @ConstructorProperties({"id","odaInstanceId","odaPrivateEndpointId","compartmentId","lifecycleState","timeCreated","timeUpdated"}) public OdaPrivateEndpointAttachmentSummary(String id, String odaInstanceId, String odaPrivateEndpointId, String compartmentId, OdaPrivateEndpointAttachment.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static OdaPrivateEndpointAttachmentSummary.Builder builder()
Create a new builder.
-
toBuilder
public OdaPrivateEndpointAttachmentSummary.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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-