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

com.softlayer.api.service.network.bandwidth.version1.Host Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.network.bandwidth.version1;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * [DEPRECATED] The SoftLayer_Network_Bandwidth_Version1_Host type contains general information used to the route a server to its pod. 
 *
 * @see SoftLayer_Network_Bandwidth_Version1_Host
 */
@ApiType("SoftLayer_Network_Bandwidth_Version1_Host")
public class Host extends Entity {

    /**
     * Pod ID for this host device.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long podId;

    public Long getPodId() {
        return podId;
    }

    public void setPodId(Long podId) {
        podIdSpecified = true;
        this.podId = podId;
    }

    protected boolean podIdSpecified;

    public boolean isPodIdSpecified() {
        return podIdSpecified;
    }

    public void unsetPodId() {
        podId = null;
        podIdSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask podId() {
            withLocalProperty("podId");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy