Class AccountManagement
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.platform_services.account_management.v4.AccountManagement
-
public class AccountManagement extends com.ibm.cloud.sdk.core.service.BaseServiceThe Account Management API allows for the management of Account. API Version: 4.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_SERVICE_NAMEDefault service name used when configuring the `AccountManagement` client.static java.lang.StringDEFAULT_SERVICE_URLDefault service endpoint URL.
-
Constructor Summary
Constructors Constructor Description AccountManagement(java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `AccountManagement` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<AccountResponse>getAccount(GetAccountOptions getAccountOptions)Get Account by Account ID.static AccountManagementnewInstance()Class method which constructs an instance of the `AccountManagement` client.static AccountManagementnewInstance(java.lang.String serviceName)Class method which constructs an instance of the `AccountManagement` client.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_NAME
Default service name used when configuring the `AccountManagement` client.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final java.lang.String DEFAULT_SERVICE_URL
Default service endpoint URL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AccountManagement
public AccountManagement(java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `AccountManagement` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
serviceName- the service name to be used when configuring the client instanceauthenticator- theAuthenticatorinstance to be configured for this client
-
-
Method Detail
-
newInstance
public static AccountManagement newInstance()
Class method which constructs an instance of the `AccountManagement` client. The default service name is used to configure the client instance.- Returns:
- an instance of the `AccountManagement` client using external configuration
-
newInstance
public static AccountManagement newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `AccountManagement` client. The specified service name is used to configure the client instance.- Parameters:
serviceName- the service name to be used when configuring the client instance- Returns:
- an instance of the `AccountManagement` client using external configuration
-
getAccount
public com.ibm.cloud.sdk.core.http.ServiceCall<AccountResponse> getAccount(GetAccountOptions getAccountOptions)
Get Account by Account ID. Returns the details of an account.- Parameters:
getAccountOptions- theGetAccountOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAccountResponse
-
-