|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.securitygroup.CreateSecurityGroupRequest
public class CreateSecurityGroupRequest
The request for creating new SecurityGroup.
| Constructor Summary | |
|---|---|
CreateSecurityGroupRequest()
|
|
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateSecurityGroupRequest()
| Method Detail |
|---|
public String getClientToken()
public void setClientToken(String clientToken)
public CreateSecurityGroupRequest withClientToken(String clientToken)
clientToken - An ASCII string whose length is less than 64.
See more detail at
BCE API doc
public String getName()
public void setName(String name)
public CreateSecurityGroupRequest withVpcId(String vpcId)
public String getVpcId()
public void setVpcId(String vpcId)
public CreateSecurityGroupRequest withName(String name)
name - The name of SecurityGroup that will be created.
public String getDesc()
public void setDesc(String desc)
public CreateSecurityGroupRequest withDesc(String desc)
desc - The optional parameter to describe the SecurityGroup that will be created.
public List<SecurityGroupRuleModel> getRules()
public void setRules(List<SecurityGroupRuleModel> rules)
public CreateSecurityGroupRequest withRules(List<SecurityGroupRuleModel> rules)
rules - The list of rules which define how the SecurityGroup works.
public List<TagModel> getTags()
public void setTags(List<TagModel> tags)
public CreateSecurityGroupRequest withTags(List<TagModel> tags)
tags - The list of tags which define how the SecurityGroup works.
public CreateSecurityGroupRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||