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