Package com.ibm.cloud.is.vpc.v1.model
Class UpdateBareMetalServerNetworkAttachmentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.UpdateBareMetalServerNetworkAttachmentOptions.Builder
-
- Enclosing class:
- UpdateBareMetalServerNetworkAttachmentOptions
public static class UpdateBareMetalServerNetworkAttachmentOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBareMetalServerNetworkAttachmentOptions.Builder
bareMetalServerId(String bareMetalServerId)
Set the bareMetalServerId.UpdateBareMetalServerNetworkAttachmentOptions.Builder
bareMetalServerNetworkAttachmentPatch(Map<String,Object> bareMetalServerNetworkAttachmentPatch)
Set the bareMetalServerNetworkAttachmentPatch.UpdateBareMetalServerNetworkAttachmentOptions
build()
Builds a UpdateBareMetalServerNetworkAttachmentOptions.UpdateBareMetalServerNetworkAttachmentOptions.Builder
id(String id)
Set the id.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String bareMetalServerId, String id, Map<String,Object> bareMetalServerNetworkAttachmentPatch)
Instantiates a new builder with required properties.- Parameters:
bareMetalServerId
- the bareMetalServerIdid
- the idbareMetalServerNetworkAttachmentPatch
- the bareMetalServerNetworkAttachmentPatch
-
-
Method Detail
-
build
public UpdateBareMetalServerNetworkAttachmentOptions build()
Builds a UpdateBareMetalServerNetworkAttachmentOptions.- Returns:
- the new UpdateBareMetalServerNetworkAttachmentOptions instance
-
bareMetalServerId
public UpdateBareMetalServerNetworkAttachmentOptions.Builder bareMetalServerId(String bareMetalServerId)
Set the bareMetalServerId.- Parameters:
bareMetalServerId
- the bareMetalServerId- Returns:
- the UpdateBareMetalServerNetworkAttachmentOptions builder
-
id
public UpdateBareMetalServerNetworkAttachmentOptions.Builder id(String id)
Set the id.- Parameters:
id
- the id- Returns:
- the UpdateBareMetalServerNetworkAttachmentOptions builder
-
bareMetalServerNetworkAttachmentPatch
public UpdateBareMetalServerNetworkAttachmentOptions.Builder bareMetalServerNetworkAttachmentPatch(Map<String,Object> bareMetalServerNetworkAttachmentPatch)
Set the bareMetalServerNetworkAttachmentPatch.- Parameters:
bareMetalServerNetworkAttachmentPatch
- the bareMetalServerNetworkAttachmentPatch- Returns:
- the UpdateBareMetalServerNetworkAttachmentOptions builder
-
-