Java SDK call example

更新时间:
复制 MD 格式

Cloud Firewall software development kit (SDK) encapsulates Cloud Firewall APIs to simplify development. You can call the APIs in the SDK to perform operations such as managing NAT firewalls, firewall switches, 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 V2.0 SDK supports multiple programming languages. You can find installation methods in the OpenAPI Portal, or view the source code and installation guides on GitHub. To install the SDK, use the mainstream dependency management tool for your programming language.

Language

SDK installation method

GitHub address

Quick Start

Java

Use Alibaba Cloud SDK for Java in an IDE

Python

Download Python SDK

python-cloudfw-20171207

Use Alibaba Cloud SDK for Python in an IDE

PHP

Download PHP SDK

php-cloudfw-20171207

Use Alibaba Cloud SDK for PHP in an IDE

Node.js

Download Node.js SDK

nodejs-cloudfw-20171207

Use Alibaba Cloud SDK for Node.js in an IDE

Go

Download Go SDK

go-cloudfw-20171207

Use Alibaba Cloud SDK for Go in an IDE

C#

Download C# SDK

csharp-cloudfw-20171207

C++

Download C++ SDK

cpp-cloudfw-20171207

/

Swift

Download Swift SDK

swift-cloudfw-20171207

/

Usage example

The following example shows how to use the Cloud Firewall SDK to create an address book for access control.