com.softlayer.api.service.network.storage.Backup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
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;
}
}
}