Package com.ibm.cloud.is.vpc.v1.model
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceMetadataServicePatch.Builder
Builder.static interface
InstanceMetadataServicePatch.Protocol
The communication protocol to use for the metadata service endpoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Gets the enabled.InstanceMetadataServicePatch.Builder
newBuilder()
New builder.String
protocol()
Gets the protocol.Long
responseHopLimit()
Gets the responseHopLimit.
-
-
-
Method Detail
-
newBuilder
public InstanceMetadataServicePatch.Builder 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
-
-