Package com.ibm.cloud.is.vpc.v1.model
Class UpdateInstanceOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.UpdateInstanceOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateInstanceOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateInstance options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateInstanceOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Gets the id.String
ifMatch()
Gets the ifMatch.Map<String,Object>
instancePatch()
Gets the instancePatch.UpdateInstanceOptions.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public UpdateInstanceOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateInstanceOptions builder
-
id
public String id()
Gets the id. The virtual server instance identifier.- Returns:
- the id
-
instancePatch
public Map<String,Object> instancePatch()
Gets the instancePatch. The instance patch.- Returns:
- the instancePatch
-
ifMatch
public String ifMatch()
Gets the ifMatch. If present, the request will fail if the specified ETag value does not match the resource's current ETag value. Required if the request body includes an array.- Returns:
- the ifMatch
-
-