com.baidubce.services.bcc.model.securitygroup
Class ListSecurityGroupsRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.model.ListRequest
          extended by com.baidubce.services.bcc.model.securitygroup.ListSecurityGroupsRequest

public class ListSecurityGroupsRequest
extends ListRequest

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

ListSecurityGroupsRequest

public ListSecurityGroupsRequest()
Method Detail

getInstanceId

public String getInstanceId()

setInstanceId

public void setInstanceId(String instanceId)

withInstanceId

public ListSecurityGroupsRequest withInstanceId(String instanceId)
Configure the request with specified instanceId.

Parameters:
instanceId - The id of instance.

getVpcId

public String getVpcId()

setVpcId

public void setVpcId(String vpcId)

withVpcId

public ListSecurityGroupsRequest withVpcId(String vpcId)

withMarker

public ListSecurityGroupsRequest withMarker(String marker)
Configure the request with specified marker.

Overrides:
withMarker in class ListRequest
Parameters:
marker - The optional parameter marker specified in the original request to specify where in the results to begin listing.
Returns:
ListSecurityGroupsRequest with specified marker.

withMaxKeys

public ListSecurityGroupsRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.

Overrides:
withMaxKeys in class ListRequest
Parameters:
maxKeys - The optional parameter to specifies the max number of list result to return. The default value is 1000.
Returns:
ListInstancesRequest with specified maxKeys.

withRequestCredentials

public ListSecurityGroupsRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ListSecurityGroupsRequest with credentials.


Copyright © 2018. All rights reserved.