|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.model.ListRequest
com.baidubce.services.bcc.model.securitygroup.ListSecurityGroupsRequest
public class ListSecurityGroupsRequest
The request for listing the SecurityGroup owned by the user.
Constructor Summary | |
---|---|
ListSecurityGroupsRequest()
|
Method Summary | |
---|---|
String |
getInstanceId()
|
String |
getVpcId()
|
void |
setInstanceId(String instanceId)
|
void |
setVpcId(String vpcId)
|
ListSecurityGroupsRequest |
withInstanceId(String instanceId)
Configure the request with specified instanceId. |
ListSecurityGroupsRequest |
withMarker(String marker)
Configure the request with specified marker. |
ListSecurityGroupsRequest |
withMaxKeys(int maxKeys)
Configure the request with specified maxKeys. |
ListSecurityGroupsRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request. |
ListSecurityGroupsRequest |
withVpcId(String vpcId)
|
Methods inherited from class com.baidubce.model.ListRequest |
---|
getMarker, getMaxKeys, setMarker, setMaxKeys |
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 ListSecurityGroupsRequest()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
public ListSecurityGroupsRequest withInstanceId(String instanceId)
instanceId
- The id of instance.public String getVpcId()
public void setVpcId(String vpcId)
public ListSecurityGroupsRequest withVpcId(String vpcId)
public ListSecurityGroupsRequest withMarker(String marker)
withMarker
in class ListRequest
marker
- The optional parameter marker specified in the original request to specify
where in the results to begin listing.
public ListSecurityGroupsRequest withMaxKeys(int maxKeys)
withMaxKeys
in class ListRequest
maxKeys
- The optional parameter to specifies the max number of list result to return.
The default value is 1000.
public ListSecurityGroupsRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials
in class AbstractBceRequest
credentials
- a valid instance of BceCredentials.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |