All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.account.link.Bluemix Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.account.link;

import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.account.Link;
import java.util.concurrent.Future;

/**
 * @see SoftLayer_Account_Link_Bluemix
 */
@ApiType("SoftLayer_Account_Link_Bluemix")
public class Bluemix extends Link {

    public Service asService(ApiClient client) {
        return service(client, id);
    }

    public static Service service(ApiClient client) {
        return client.createService(Service.class, null);
    }

    public static Service service(ApiClient client, Long id) {
        return client.createService(Service.class, id == null ? null : id.toString());
    }

    /**
     * @see SoftLayer_Account_Link_Bluemix
     */
    @com.softlayer.api.annotation.ApiService("SoftLayer_Account_Link_Bluemix")
    public static interface Service extends com.softlayer.api.Service {

        public ServiceAsync asAsync();
        public Mask withNewMask();
        public Mask withMask();
        public void setMask(Mask mask);

        /**
         * @see SoftLayer_Account_Link_Bluemix::getObject
         */
        @ApiMethod(instanceRequired = true)
        public Bluemix getObject();

        /**
         * @see SoftLayer_Account_Link_Bluemix::getSupportTierType
         */
        @ApiMethod(instanceRequired = true)
        public String getSupportTierType();

    }

    public static interface ServiceAsync extends com.softlayer.api.ServiceAsync {

        public Mask withNewMask();
        public Mask withMask();
        public void setMask(Mask mask);

        /**
         * Async version of {@link Service#getObject}
         */
        public Future getObject();

        public Future getObject(ResponseHandler callback);

        /**
         * Async version of {@link Service#getSupportTierType}
         */
        public Future getSupportTierType();

        public Future getSupportTierType(ResponseHandler callback);

    }

    public static class Mask extends com.softlayer.api.service.account.Link.Mask {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy