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.
  • Method Details

    • isEnabled

      public Boolean isEnabled()
      Gets the enabled. Indicates whether the metadata service endpoint is available to the virtual server instance.
      Returns:
      the enabled
    • getProtocol

      public String 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

      public Long 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