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