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.
  • Method Details

    • newBuilder

      public BareMetalServerPatch.Builder newBuilder()
      New builder.
      Returns:
      a BareMetalServerPatch builder
    • bandwidth

      public Long 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

      public Boolean 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

      public String 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

      public BareMetalServerReservationAffinityPatch reservationAffinity()
      Gets the reservationAffinity.
      Returns:
      the reservationAffinity
    • trustedPlatformModule

      public BareMetalServerTrustedPlatformModulePatch trustedPlatformModule()
      Gets the trustedPlatformModule.
      Returns:
      the trustedPlatformModule
    • asPatch

      public Map<String,Object> 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