com.baidubce.services.vpc.model
Class ModifyVpcAttributesRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.vpc.model.ModifyVpcAttributesRequest

public class ModifyVpcAttributesRequest
extends AbstractBceRequest

The request for modify vpc


Constructor Summary
ModifyVpcAttributesRequest()
           
 
Method Summary
 String getClientToken()
           
 String getDescription()
           
 String getName()
           
 String getVpcId()
           
 void setClientToken(String clientToken)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setVpcId(String vpcId)
           
 ModifyVpcAttributesRequest withClientToken(String clientToken)
          Configure optional client token for the request.
 ModifyVpcAttributesRequest withDescription(String description)
          Configure description for the request.
 ModifyVpcAttributesRequest withName(String name)
          Configure name for the request.
 ModifyVpcAttributesRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 ModifyVpcAttributesRequest withVpcId(String vpcId)
          Configure vpc id for the request.
 
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

ModifyVpcAttributesRequest

public ModifyVpcAttributesRequest()
Method Detail

getVpcId

public String getVpcId()

setVpcId

public void setVpcId(String vpcId)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

withClientToken

public ModifyVpcAttributesRequest withClientToken(String clientToken)
Configure optional client token for the request. The request will be idempotent if client token is provided. If the clientToken is not specified by the user, a random String generated by default algorithm will be used.

Parameters:
clientToken - An ASCII string whose length is less than 64. See more detail at BCE API doc
Returns:
ModifySubnetAttributesRequest with specific clientToken

withVpcId

public ModifyVpcAttributesRequest withVpcId(String vpcId)
Configure vpc id for the request.

Parameters:
vpcId - the id of vpc
Returns:
ModifyVpcAttributesRequest with vpcId

withName

public ModifyVpcAttributesRequest withName(String name)
Configure name for the request.

Parameters:
name - The name of vpc
Returns:
ModifyVpcAttributesRequest with specific name

withDescription

public ModifyVpcAttributesRequest withDescription(String description)
Configure description for the request.

Parameters:
description - the type of vpc
Returns:
ModifyVpcAttributesRequest with description

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.