Package com.ibm.cloud.is.vpc.v1.model
Class DNSInstanceIdentityByCRN.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.DNSInstanceIdentityByCRN.Builder
-
- Enclosing class:
- DNSInstanceIdentityByCRN
public static class DNSInstanceIdentityByCRN.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(DNSInstanceIdentity dnsInstanceIdentityByCrn)
Instantiates a new Builder from an existing DNSInstanceIdentityByCRN instance.Builder(String crn)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSInstanceIdentityByCRN
build()
Builds a DNSInstanceIdentityByCRN.DNSInstanceIdentityByCRN.Builder
crn(String crn)
Set the crn.
-
-
-
Constructor Detail
-
Builder
public Builder(DNSInstanceIdentity dnsInstanceIdentityByCrn)
Instantiates a new Builder from an existing DNSInstanceIdentityByCRN instance.- Parameters:
dnsInstanceIdentityByCrn
- 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 DNSInstanceIdentityByCRN build()
Builds a DNSInstanceIdentityByCRN.- Returns:
- the new DNSInstanceIdentityByCRN instance
-
crn
public DNSInstanceIdentityByCRN.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the DNSInstanceIdentityByCRN builder
-
-