Class ComputeInstanceEndpoint
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vnmonitoring.model.Endpoint
-
- com.oracle.bmc.vnmonitoring.model.ComputeInstanceEndpoint
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ComputeInstanceEndpoint extends EndpointDefines the details required for a COMPUTE_INSTANCE-type Endpoint.
Note: Objects should always be created or deserialized using theComputeInstanceEndpoint.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 theComputeInstanceEndpoint.Builder, which maintain a set of all explicitly set fields calledComputeInstanceEndpoint.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 classComputeInstanceEndpoint.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.vnmonitoring.model.Endpoint
Endpoint.Type
-
-
Constructor Summary
Constructors Constructor Description ComputeInstanceEndpoint(String address, String instanceId, String vnicId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeInstanceEndpoint.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddress()The IPv4 address of the COMPUTE_INSTANCE-type Endpoint object.StringgetInstanceId()The OCID of the compute instance.StringgetVnicId()The OCID of the VNIC attached to the compute instance.inthashCode()ComputeInstanceEndpoint.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ComputeInstanceEndpoint
@Deprecated public ComputeInstanceEndpoint(String address, String instanceId, String vnicId)
Deprecated.
-
-
Method Detail
-
builder
public static ComputeInstanceEndpoint.Builder builder()
Create a new builder.
-
toBuilder
public ComputeInstanceEndpoint.Builder toBuilder()
-
getAddress
public String getAddress()
The IPv4 address of the COMPUTE_INSTANCE-type Endpoint object.- Returns:
- the value
-
getVnicId
public String getVnicId()
The OCID of the VNIC attached to the compute instance.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-