Class CreateDedicatedHostOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateDedicatedHostOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(DedicatedHostPrototype dedicatedHostPrototype) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a CreateDedicatedHostOptions.dedicatedHostPrototype(DedicatedHostPrototype dedicatedHostPrototype) Set the dedicatedHostPrototype.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
dedicatedHostPrototype- the dedicatedHostPrototype
-
-
Method Details
-
build
Builds a CreateDedicatedHostOptions.- Returns:
- the new CreateDedicatedHostOptions instance
-
dedicatedHostPrototype
public CreateDedicatedHostOptions.Builder dedicatedHostPrototype(DedicatedHostPrototype dedicatedHostPrototype) Set the dedicatedHostPrototype.- Parameters:
dedicatedHostPrototype- the dedicatedHostPrototype- Returns:
- the CreateDedicatedHostOptions builder
-