Package com.ibm.cloud.is.vpc.v1.model
Class StopBareMetalServerOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.StopBareMetalServerOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class StopBareMetalServerOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The stopBareMetalServer options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StopBareMetalServerOptions.Builder
Builder.static interface
StopBareMetalServerOptions.Type
The type of stop operation: - `soft`: signal running operating system to quiesce and shutdown cleanly - `hard`: immediately stop the server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Gets the id.StopBareMetalServerOptions.Builder
newBuilder()
New builder.String
type()
Gets the type.
-
-
-
Method Detail
-
newBuilder
public StopBareMetalServerOptions.Builder newBuilder()
New builder.- Returns:
- a StopBareMetalServerOptions builder
-
id
public String id()
Gets the id. The bare metal server identifier.- Returns:
- the id
-
type
public String type()
Gets the type. The type of stop operation: - `soft`: signal running operating system to quiesce and shutdown cleanly - `hard`: immediately stop the server.- Returns:
- the type
-
-