TrunkedNetworkAttachmentConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. TrunkedNetworkAttachmentConfiguration
- com.
Implements
public final class TrunkedNetworkAttachmentConfiguration
implements JsonSerializable<TrunkedNetworkAttachmentConfiguration>
TrunkedNetworkAttachmentConfiguration represents the configuration of the attachment of a trunked network.
Constructor Summary
| Constructor | Description |
|---|---|
| TrunkedNetworkAttachmentConfiguration() |
Creates an instance of Trunked |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Trunked |
fromJson(JsonReader jsonReader)
Reads an instance of Trunked |
| String |
networkId()
Get the network |
|
Kubernetes |
pluginType()
Get the plugin |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Trunked |
withNetworkId(String networkId)
Set the network |
|
Trunked |
withPluginType(KubernetesPluginType pluginType)
Set the plugin |
Methods inherited from java.lang.Object
Constructor Details
TrunkedNetworkAttachmentConfiguration
public TrunkedNetworkAttachmentConfiguration()
Creates an instance of TrunkedNetworkAttachmentConfiguration class.
Method Details
fromJson
public static TrunkedNetworkAttachmentConfiguration fromJson(JsonReader jsonReader)
Reads an instance of TrunkedNetworkAttachmentConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
networkId
public String networkId()
Get the networkId property: The resource ID of the network that is being configured for attachment.
Returns:
pluginType
public KubernetesPluginType pluginType()
Get the pluginType property: The indicator of how this network will be utilized by the Kubernetes cluster.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNetworkId
public TrunkedNetworkAttachmentConfiguration withNetworkId(String networkId)
Set the networkId property: The resource ID of the network that is being configured for attachment.
Parameters:
Returns:
withPluginType
public TrunkedNetworkAttachmentConfiguration withPluginType(KubernetesPluginType pluginType)
Set the pluginType property: The indicator of how this network will be utilized by the Kubernetes cluster.
Parameters:
Returns: