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

com.softlayer.api.service.network.storage.Snapshot 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;
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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy