Package com.ibm.cloud.is.vpc.v1.model
Class InstanceMetadataServicePatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.InstanceMetadataServicePatch.Builder
-
- Enclosing class:
- InstanceMetadataServicePatch
public static class InstanceMetadataServicePatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceMetadataServicePatch
build()
Builds a InstanceMetadataServicePatch.InstanceMetadataServicePatch.Builder
enabled(Boolean enabled)
Set the enabled.InstanceMetadataServicePatch.Builder
protocol(String protocol)
Set the protocol.InstanceMetadataServicePatch.Builder
responseHopLimit(long responseHopLimit)
Set the responseHopLimit.
-
-
-
Method Detail
-
build
public InstanceMetadataServicePatch build()
Builds a InstanceMetadataServicePatch.- Returns:
- the new InstanceMetadataServicePatch instance
-
enabled
public InstanceMetadataServicePatch.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the InstanceMetadataServicePatch builder
-
protocol
public InstanceMetadataServicePatch.Builder protocol(String protocol)
Set the protocol.- Parameters:
protocol
- the protocol- Returns:
- the InstanceMetadataServicePatch builder
-
responseHopLimit
public InstanceMetadataServicePatch.Builder responseHopLimit(long responseHopLimit)
Set the responseHopLimit.- Parameters:
responseHopLimit
- the responseHopLimit- Returns:
- the InstanceMetadataServicePatch builder
-
-