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

com.pulumi.aws.fsx.outputs.OpenZfsVolumeOriginSnapshot Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.fsx.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class OpenZfsVolumeOriginSnapshot {
    /**
     * @return Specifies the strategy used when copying data from the snapshot to the new volume. Valid values are `CLONE`, `FULL_COPY`, `INCREMENTAL_COPY`.
     * 
     */
    private String copyStrategy;
    /**
     * @return The Amazon Resource Name (ARN) of the origin snapshot.
     * 
     */
    private String snapshotArn;

    private OpenZfsVolumeOriginSnapshot() {}
    /**
     * @return Specifies the strategy used when copying data from the snapshot to the new volume. Valid values are `CLONE`, `FULL_COPY`, `INCREMENTAL_COPY`.
     * 
     */
    public String copyStrategy() {
        return this.copyStrategy;
    }
    /**
     * @return The Amazon Resource Name (ARN) of the origin snapshot.
     * 
     */
    public String snapshotArn() {
        return this.snapshotArn;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(OpenZfsVolumeOriginSnapshot defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String copyStrategy;
        private String snapshotArn;
        public Builder() {}
        public Builder(OpenZfsVolumeOriginSnapshot defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.copyStrategy = defaults.copyStrategy;
    	      this.snapshotArn = defaults.snapshotArn;
        }

        @CustomType.Setter
        public Builder copyStrategy(String copyStrategy) {
            if (copyStrategy == null) {
              throw new MissingRequiredPropertyException("OpenZfsVolumeOriginSnapshot", "copyStrategy");
            }
            this.copyStrategy = copyStrategy;
            return this;
        }
        @CustomType.Setter
        public Builder snapshotArn(String snapshotArn) {
            if (snapshotArn == null) {
              throw new MissingRequiredPropertyException("OpenZfsVolumeOriginSnapshot", "snapshotArn");
            }
            this.snapshotArn = snapshotArn;
            return this;
        }
        public OpenZfsVolumeOriginSnapshot build() {
            final var _resultValue = new OpenZfsVolumeOriginSnapshot();
            _resultValue.copyStrategy = copyStrategy;
            _resultValue.snapshotArn = snapshotArn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy