Class InstanceMetadataService
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceMetadataService
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceMetadataService
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The metadata service configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The communication protocol to use for the metadata service endpoint. -
Method Summary
Modifier and TypeMethodDescriptionGets the protocol.Gets the responseHopLimit.Gets the enabled.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
isEnabled
Gets the enabled. Indicates whether the metadata service endpoint is available to the virtual server instance.- Returns:
- the enabled
-
getProtocol
Gets the protocol. The communication protocol to use for the metadata service endpoint. Applies only when the metadata service is enabled. - `http`: HTTP protocol (unencrypted) - `https`: HTTP Secure protocol.- Returns:
- the protocol
-
getResponseHopLimit
Gets the responseHopLimit. The hop limit (IP time to live) for IP response packets from the metadata service. Applies only when the metadata service is enabled.- Returns:
- the responseHopLimit
-