Class BareMetalServerPatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.BareMetalServerPatch
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class BareMetalServerPatch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
BareMetalServerPatch.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a BareMetalServerPatch builder
-
bandwidth
Gets the bandwidth. The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.- Returns:
- the bandwidth
-
enableSecureBoot
Gets the enableSecureBoot. Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the bare metal server will fail to boot. For `enable_secure_boot` to be changed, the bare metal server `status` must be `stopped`.- Returns:
- the enableSecureBoot
-
name
Gets the name. The name for this bare metal server. The name must not be used by another bare metal server in the region. Changing the name will not affect the system hostname.- Returns:
- the name
-
reservationAffinity
Gets the reservationAffinity.- Returns:
- the reservationAffinity
-
trustedPlatformModule
Gets the trustedPlatformModule.- Returns:
- the trustedPlatformModule
-
asPatch
Construct a JSON merge-patch from the BareMetalServerPatch. Note that properties of the BareMetalServerPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the BareMetalServerPatch
-