Pools.exists 方法

定义

重载

exists(String poolId)

Gets basic properties of a pool.

exists(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a pool.

exists(String poolId)

Gets basic properties of a pool.

public boolean exists(String poolId)

参数

poolId
String

The ID of the pool to get.

返回

boolean

the boolean object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

exists(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a pool.

public boolean exists(String poolId, PoolExistsOptions poolExistsOptions)

参数

poolId
String

The ID of the pool to get.

poolExistsOptions
PoolExistsOptions

Additional parameters for the operation

返回

boolean

the boolean object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

适用于