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