public class ListSecurityGroupsRequest extends ListRequest
| Constructor and Description |
|---|
ListSecurityGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getMarker, getMaxKeys, setMarker, setMaxKeysgetRequestCredentials, setRequestCredentialspublic 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 ListRequestmarker - 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 ListRequestmaxKeys - 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 AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2023. All rights reserved.