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

com.softlayer.api.service.network.storage.Backup Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.network.Storage;

/**
 * The SoftLayer_Network_Storage_Backup contains general information regarding a Storage backup service such as account id, username, maximum capacity, password, Storage's product type and the server id. 
 *
 * @see SoftLayer_Network_Storage_Backup
 */
@ApiType("SoftLayer_Network_Storage_Backup")
public class Backup extends Storage {

    /**
     * Peak number of bytes used in the vault for the current billing cycle.
     */
    @ApiProperty
    protected Long currentCyclePeakUsage;

    public Long getCurrentCyclePeakUsage() {
        return currentCyclePeakUsage;
    }

    public void setCurrentCyclePeakUsage(Long currentCyclePeakUsage) {
        this.currentCyclePeakUsage = currentCyclePeakUsage;
    }

    /**
     * Peak number of bytes used in the vault for the previous billing cycle.
     */
    @ApiProperty
    protected Long previousCyclePeakUsage;

    public Long getPreviousCyclePeakUsage() {
        return previousCyclePeakUsage;
    }

    public void setPreviousCyclePeakUsage(Long previousCyclePeakUsage) {
        this.previousCyclePeakUsage = previousCyclePeakUsage;
    }

    public static class Mask extends com.softlayer.api.service.network.Storage.Mask {

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy