com.softlayer.api.service.network.storage.Snapshot 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;
import com.softlayer.api.service.network.storage.Schedule;
/**
* @see SoftLayer_Network_Storage_Snapshot
*/
@ApiType("SoftLayer_Network_Storage_Snapshot")
public class Snapshot extends Storage {
/**
* If applicable, the schedule which was executed to create a snapshot.
*/
@ApiProperty
protected Schedule creationSchedule;
public Schedule getCreationSchedule() {
return creationSchedule;
}
public void setCreationSchedule(Schedule creationSchedule) {
this.creationSchedule = creationSchedule;
}
/**
* The volume name for the snapshot.
*/
@ApiProperty
protected String volumeName;
public String getVolumeName() {
return volumeName;
}
public void setVolumeName(String volumeName) {
this.volumeName = volumeName;
}
public static class Mask extends com.softlayer.api.service.network.Storage.Mask {
public Schedule.Mask creationSchedule() {
return withSubMask("creationSchedule", Schedule.Mask.class);
}
public Mask volumeName() {
withLocalProperty("volumeName");
return this;
}
}
}