Package com.ibm.cloud.is.vpc.v1.model
Class UpdateSnapshotOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.UpdateSnapshotOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateSnapshotOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateSnapshot options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateSnapshotOptions.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.UpdateSnapshotOptions.Builder
newBuilder()
New builder.Map<String,Object>
snapshotPatch()
Gets the snapshotPatch.
-
-
-
Method Detail
-
newBuilder
public UpdateSnapshotOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateSnapshotOptions builder
-
id
public String id()
Gets the id. The snapshot identifier.- Returns:
- the id
-
snapshotPatch
public Map<String,Object> snapshotPatch()
Gets the snapshotPatch. The snapshot patch.- Returns:
- the snapshotPatch
-
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
-
-