Class DeliveryMethod.Builder
- java.lang.Object
-
- com.ibm.cloud.dpx_services.dpx.v1.model.DeliveryMethod.Builder
-
- Enclosing class:
- DeliveryMethod
public static class DeliveryMethod.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(java.lang.String id, ContainerReference container)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveryMethod
build()
Builds a DeliveryMethod.DeliveryMethod.Builder
container(ContainerReference container)
Set the container.DeliveryMethod.Builder
id(java.lang.String id)
Set the id.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String id, ContainerReference container)
Instantiates a new builder with required properties.- Parameters:
id
- the idcontainer
- the container
-
-
Method Detail
-
build
public DeliveryMethod build()
Builds a DeliveryMethod.- Returns:
- the new DeliveryMethod instance
-
id
public DeliveryMethod.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the DeliveryMethod builder
-
container
public DeliveryMethod.Builder container(ContainerReference container)
Set the container.- Parameters:
container
- the container- Returns:
- the DeliveryMethod builder
-
-