Package com.ibm.cloud.is.vpc.v1.model
Class UpdateSecurityGroupRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.UpdateSecurityGroupRuleOptions.Builder
-
- Enclosing class:
- UpdateSecurityGroupRuleOptions
public static class UpdateSecurityGroupRuleOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSecurityGroupRuleOptions
build()
Builds a UpdateSecurityGroupRuleOptions.UpdateSecurityGroupRuleOptions.Builder
id(String id)
Set the id.UpdateSecurityGroupRuleOptions.Builder
securityGroupId(String securityGroupId)
Set the securityGroupId.UpdateSecurityGroupRuleOptions.Builder
securityGroupRulePatch(Map<String,Object> securityGroupRulePatch)
Set the securityGroupRulePatch.
-
-
-
Method Detail
-
build
public UpdateSecurityGroupRuleOptions build()
Builds a UpdateSecurityGroupRuleOptions.- Returns:
- the new UpdateSecurityGroupRuleOptions instance
-
securityGroupId
public UpdateSecurityGroupRuleOptions.Builder securityGroupId(String securityGroupId)
Set the securityGroupId.- Parameters:
securityGroupId
- the securityGroupId- Returns:
- the UpdateSecurityGroupRuleOptions builder
-
id
public UpdateSecurityGroupRuleOptions.Builder id(String id)
Set the id.- Parameters:
id
- the id- Returns:
- the UpdateSecurityGroupRuleOptions builder
-
securityGroupRulePatch
public UpdateSecurityGroupRuleOptions.Builder securityGroupRulePatch(Map<String,Object> securityGroupRulePatch)
Set the securityGroupRulePatch.- Parameters:
securityGroupRulePatch
- the securityGroupRulePatch- Returns:
- the UpdateSecurityGroupRuleOptions builder
-
-