public class ModifySubnetAttributesRequest extends AbstractBceRequest
| Constructor and Description |
|---|
ModifySubnetAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientToken() |
String |
getDescription() |
String |
getName() |
String |
getSubnetId() |
void |
setClientToken(String clientToken) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setSubnetId(String subnetId) |
ModifySubnetAttributesRequest |
withClientToken(String clientToken)
Configure optional client token for the request.
|
ModifySubnetAttributesRequest |
withDescription(String description)
Configure description for the request.
|
ModifySubnetAttributesRequest |
withName(String name)
Configure name for the request.
|
ModifySubnetAttributesRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
ModifySubnetAttributesRequest |
withSubnetId(String subnetId)
Configure subnet id for the request.
|
getRequestCredentials, setRequestCredentialspublic ModifySubnetAttributesRequest withClientToken(String clientToken)
clientToken - An ASCII string whose length is less than 64.
See more detail at
BCE API docpublic ModifySubnetAttributesRequest withSubnetId(String subnetId)
subnetId - the id of subnetpublic ModifySubnetAttributesRequest withName(String name)
name - The new name of subnetpublic ModifySubnetAttributesRequest withDescription(String description)
description - the type of subnetpublic String getClientToken()
public void setClientToken(String clientToken)
public String getSubnetId()
public void setSubnetId(String subnetId)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public ModifySubnetAttributesRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2020. All rights reserved.