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

com.spotinst.sdkjava.model.AmiBackupConfig Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.model;

import com.fasterxml.jackson.annotation.JsonInclude;


@JsonInclude(JsonInclude.Include.NON_NULL)
public class AmiBackupConfig {
    //region Members
    private Boolean shouldDeleteImages;

    //endregion

    //region Getters & Setters

    public Boolean getShouldDeleteImages() {
        return shouldDeleteImages;
    }

    public void setShouldDeleteImages(Boolean shouldDeleteImages) {
        this.shouldDeleteImages = shouldDeleteImages;
    }

    //endregion

    //region Builder class
    public static class Builder {
        private AmiBackupConfig amiBackup;

        private Builder() {
            this.amiBackup = new AmiBackupConfig();
        }

        public static AmiBackupConfig.Builder get() {
            return new Builder();
        }

        public AmiBackupConfig.Builder setShouldDeleteImages(final Boolean shouldDeleteImages) {
            amiBackup.setShouldDeleteImages(shouldDeleteImages);
            return this;
        }

        public AmiBackupConfig build() {
            return amiBackup;
        }
    }
    //endregion
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy