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