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

com.pulumi.linode.outputs.ImageReplication Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
Show 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.linode.outputs;

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

@CustomType
public final class ImageReplication {
    /**
     * @return The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
     * 
     */
    private String region;
    /**
     * @return The status of an image replica.
     * 
     */
    private String status;

    private ImageReplication() {}
    /**
     * @return The region of the image. See all regions [here](https://techdocs.akamai.com/linode-api/reference/get-regions).
     * 
     */
    public String region() {
        return this.region;
    }
    /**
     * @return The status of an image replica.
     * 
     */
    public String status() {
        return this.status;
    }

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

    public static Builder builder(ImageReplication defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String region;
        private String status;
        public Builder() {}
        public Builder(ImageReplication defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.region = defaults.region;
    	      this.status = defaults.status;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy