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