Class InstanceMetadataServicePatch

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceMetadataServicePatch
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceMetadataServicePatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
The metadata service configuration.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a InstanceMetadataServicePatch builder
    • enabled

      public Boolean enabled()
      Gets the enabled. Indicates whether the metadata service endpoint will be available to the virtual server instance.
      Returns:
      the enabled
    • protocol

      public String protocol()
      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
    • responseHopLimit

      public Long responseHopLimit()
      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