Package com.ibm.cloud.is.vpc.v1.model
Class CreateSecurityGroupRuleOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateSecurityGroupRuleOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateSecurityGroupRuleOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createSecurityGroupRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateSecurityGroupRuleOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSecurityGroupRuleOptions.Builder
newBuilder()
New builder.String
securityGroupId()
Gets the securityGroupId.SecurityGroupRulePrototype
securityGroupRulePrototype()
Gets the securityGroupRulePrototype.
-
-
-
Method Detail
-
newBuilder
public CreateSecurityGroupRuleOptions.Builder newBuilder()
New builder.- Returns:
- a CreateSecurityGroupRuleOptions builder
-
securityGroupId
public String securityGroupId()
Gets the securityGroupId. The security group identifier.- Returns:
- the securityGroupId
-
securityGroupRulePrototype
public SecurityGroupRulePrototype securityGroupRulePrototype()
Gets the securityGroupRulePrototype. The properties of the security group rule to be created.- Returns:
- the securityGroupRulePrototype
-
-