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