Class HealthChecksVantagePointSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.healthchecks.model.HealthChecksVantagePointSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180501") public final class HealthChecksVantagePointSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information about a vantage point.
Note: Objects should always be created or deserialized using theHealthChecksVantagePointSummary.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 theHealthChecksVantagePointSummary.Builder
, which maintain a set of all explicitly set fields calledHealthChecksVantagePointSummary.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
HealthChecksVantagePointSummary.Builder
-
Constructor Summary
Constructors Constructor Description HealthChecksVantagePointSummary(String displayName, String providerName, String name, Geolocation geo, List<Routing> routing)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthChecksVantagePointSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDisplayName()
The display name for the vantage point.Geolocation
getGeo()
String
getName()
The unique, permanent name for the vantage point.String
getProviderName()
The organization on whose infrastructure this vantage point resides.List<Routing>
getRouting()
An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.int
hashCode()
HealthChecksVantagePointSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
HealthChecksVantagePointSummary
@Deprecated @ConstructorProperties({"displayName","providerName","name","geo","routing"}) public HealthChecksVantagePointSummary(String displayName, String providerName, String name, Geolocation geo, List<Routing> routing)
Deprecated.
-
-
Method Detail
-
builder
public static HealthChecksVantagePointSummary.Builder builder()
Create a new builder.
-
toBuilder
public HealthChecksVantagePointSummary.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The display name for the vantage point.Display names are determined by the best information available and may change over time.
- Returns:
- the value
-
getProviderName
public String getProviderName()
The organization on whose infrastructure this vantage point resides.Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
- Returns:
- the value
-
getName
public String getName()
The unique, permanent name for the vantage point.- Returns:
- the value
-
getGeo
public Geolocation getGeo()
-
getRouting
public List<Routing> getRouting()
An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.The addresses are sorted from the most-specific to least-specific prefix (the smallest network to largest network). When a prefix has multiple origin ASNs (MOAS routing), they are sorted by weight (highest to lowest). Weight is determined by the total percentage of peers observing the prefix originating from an ASN. Only present if fields includes routing. The field will be null if the address's routing information is unknown.
- 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
-
-