Package com.ibm.cloud.is.vpc.v1.model
Class ReservationIdentityById.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ReservationIdentityById.Builder
-
- Enclosing class:
- ReservationIdentityById
public static class ReservationIdentityById.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(ReservationIdentity reservationIdentityById)
Instantiates a new Builder from an existing ReservationIdentityById instance.Builder(String id)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReservationIdentityById
build()
Builds a ReservationIdentityById.ReservationIdentityById.Builder
id(String id)
Set the id.
-
-
-
Constructor Detail
-
Builder
public Builder(ReservationIdentity reservationIdentityById)
Instantiates a new Builder from an existing ReservationIdentityById instance.- Parameters:
reservationIdentityById
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String id)
Instantiates a new builder with required properties.- Parameters:
id
- the id
-
-
Method Detail
-
build
public ReservationIdentityById build()
Builds a ReservationIdentityById.- Returns:
- the new ReservationIdentityById instance
-
id
public ReservationIdentityById.Builder id(String id)
Set the id.- Parameters:
id
- the id- Returns:
- the ReservationIdentityById builder
-
-