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