Class InstancePatch.Builder

java.lang.Object
com.ibm.cloud.is.vpc.v1.model.InstancePatch.Builder
Enclosing class:
InstancePatch

public static class InstancePatch.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public InstancePatch build()
      Builds a InstancePatch.
      Returns:
      the new InstancePatch instance
    • availabilityPolicy

      public InstancePatch.Builder availabilityPolicy(InstanceAvailabilityPolicyPatch availabilityPolicy)
      Set the availabilityPolicy.
      Parameters:
      availabilityPolicy - the availabilityPolicy
      Returns:
      the InstancePatch builder
    • confidentialComputeMode

      public InstancePatch.Builder confidentialComputeMode(String confidentialComputeMode)
      Set the confidentialComputeMode.
      Parameters:
      confidentialComputeMode - the confidentialComputeMode
      Returns:
      the InstancePatch builder
    • enableSecureBoot

      public InstancePatch.Builder enableSecureBoot(Boolean enableSecureBoot)
      Set the enableSecureBoot.
      Parameters:
      enableSecureBoot - the enableSecureBoot
      Returns:
      the InstancePatch builder
    • metadataService

      public InstancePatch.Builder metadataService(InstanceMetadataServicePatch metadataService)
      Set the metadataService.
      Parameters:
      metadataService - the metadataService
      Returns:
      the InstancePatch builder
    • name

      public InstancePatch.Builder name(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the InstancePatch builder
    • placementTarget

      public InstancePatch.Builder placementTarget(InstancePlacementTargetPatch placementTarget)
      Set the placementTarget.
      Parameters:
      placementTarget - the placementTarget
      Returns:
      the InstancePatch builder
    • profile

      public InstancePatch.Builder profile(InstancePatchProfile profile)
      Set the profile.
      Parameters:
      profile - the profile
      Returns:
      the InstancePatch builder
    • reservationAffinity

      public InstancePatch.Builder reservationAffinity(InstanceReservationAffinityPatch reservationAffinity)
      Set the reservationAffinity.
      Parameters:
      reservationAffinity - the reservationAffinity
      Returns:
      the InstancePatch builder
    • totalVolumeBandwidth

      public InstancePatch.Builder totalVolumeBandwidth(long totalVolumeBandwidth)
      Set the totalVolumeBandwidth.
      Parameters:
      totalVolumeBandwidth - the totalVolumeBandwidth
      Returns:
      the InstancePatch builder