All Products
Search
Document Center

Cloud Firewall:Call examples for SDK for Java

Last Updated:Sep 23, 2024

Cloud Firewall SDK encapsulates the API operations of Cloud Firewall to simplify development. You can call the API operations that are encapsulated to perform operations related to the NAT firewall, firewall settings, and access control.

SDK versions

The SDK versions for domain names include SDK V2.0 and SDK V1.0. SDK V2.0 is the latest release. Compared with SDK V1.0, SDK V2.0 is more robust and easier to use. This provides developers with a better experience during development.

Note

We recommend that you use SDK V2.0.

SDK download URLs

Cloud Firewall SDK V2.0 supports multiple programming languages. You can view the installation method of an SDK in OpenAPI Explorer or view the source code and related reference on GitHub. We recommend that you use mainstream dependency management tools for different programming languages to install the SDK.

Programming language

SDK installation method

GitHub address

Reference

Java

Use Alibaba Cloud SDKs for Java in an IDE

Python

Cloud Firewall SDK for Python

python-cloudfw-20171207

Use Alibaba Cloud SDKs for Python in an IDE

PHP

Cloud Firewall SDK for PHP

php-cloudfw-20171207

Use Alibaba Cloud SDKs for PHP in an IDE

Node.js

Cloud Firewall SDK for Node.js

nodejs-cloudfw-20171207

Use Alibaba Cloud SDKs for Node.js in an IDE

Go

Cloud Firewall SDK for Go

go-cloudfw-20171207

Use Alibaba Cloud SDKs for Go in an IDE

C#

Cloud Firewall SDK for C#

csharp-cloudfw-20171207

C++

Cloud Firewall SDK for C++

cpp-cloudfw-20171207

N/A

Swift

Cloud Firewall SDK for Swift

swift-cloudfw-20171207

N/A