Class InstancePatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.InstancePatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityPolicy(InstanceAvailabilityPolicyPatch availabilityPolicy) Set the availabilityPolicy.build()Builds a InstancePatch.confidentialComputeMode(String confidentialComputeMode) Set the confidentialComputeMode.enableSecureBoot(Boolean enableSecureBoot) Set the enableSecureBoot.metadataService(InstanceMetadataServicePatch metadataService) Set the metadataService.Set the name.placementTarget(InstancePlacementTargetPatch placementTarget) Set the placementTarget.profile(InstancePatchProfile profile) Set the profile.reservationAffinity(InstanceReservationAffinityPatch reservationAffinity) Set the reservationAffinity.totalVolumeBandwidth(long totalVolumeBandwidth) Set the totalVolumeBandwidth.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
-
availabilityPolicy
Set the availabilityPolicy.- Parameters:
availabilityPolicy- the availabilityPolicy- Returns:
- the InstancePatch builder
-
confidentialComputeMode
Set the confidentialComputeMode.- Parameters:
confidentialComputeMode- the confidentialComputeMode- Returns:
- the InstancePatch builder
-
enableSecureBoot
Set the enableSecureBoot.- Parameters:
enableSecureBoot- the enableSecureBoot- Returns:
- the InstancePatch builder
-
metadataService
Set the metadataService.- Parameters:
metadataService- the metadataService- Returns:
- the InstancePatch builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the InstancePatch builder
-
placementTarget
Set the placementTarget.- Parameters:
placementTarget- the placementTarget- Returns:
- the InstancePatch builder
-
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
Set the totalVolumeBandwidth.- Parameters:
totalVolumeBandwidth- the totalVolumeBandwidth- Returns:
- the InstancePatch builder
-