Class AccountManagement


  • public class AccountManagement
    extends com.ibm.cloud.sdk.core.service.BaseService
    The 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.String DEFAULT_SERVICE_NAME
      Default service name used when configuring the `AccountManagement` client.
      static java.lang.String DEFAULT_SERVICE_URL
      Default service endpoint URL.
      • Fields inherited from class com.ibm.cloud.sdk.core.service.BaseService

        PROPNAME_DISABLE_SSL, PROPNAME_ENABLE_GZIP, PROPNAME_ENABLE_RETRIES, PROPNAME_MAX_RETRIES, PROPNAME_RETRY_INTERVAL, PROPNAME_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 AccountManagement newInstance()
      Class method which constructs an instance of the `AccountManagement` client.
      static AccountManagement newInstance​(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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 instance
        authenticator - the Authenticator instance 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 - the GetAccountOptions containing the options for the call
        Returns:
        a ServiceCall with a result of type AccountResponse