com.pulumi.linode.inputs.GetImagesImageReplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of linode Show documentation
Show all versions of linode Show documentation
A Pulumi package for creating and managing linode cloud resources.
// *** 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.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetImagesImageReplication extends com.pulumi.resources.InvokeArgs {
public static final GetImagesImageReplication Empty = new GetImagesImageReplication();
/**
* The region of an image replica.
*
*/
@Import(name="region", required=true)
private String region;
/**
* @return The region of an image replica.
*
*/
public String region() {
return this.region;
}
/**
* The status of an image replica.
*
*/
@Import(name="status", required=true)
private String status;
/**
* @return The status of an image replica.
*
*/
public String status() {
return this.status;
}
private GetImagesImageReplication() {}
private GetImagesImageReplication(GetImagesImageReplication $) {
this.region = $.region;
this.status = $.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetImagesImageReplication defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetImagesImageReplication $;
public Builder() {
$ = new GetImagesImageReplication();
}
public Builder(GetImagesImageReplication defaults) {
$ = new GetImagesImageReplication(Objects.requireNonNull(defaults));
}
/**
* @param region The region of an image replica.
*
* @return builder
*
*/
public Builder region(String region) {
$.region = region;
return this;
}
/**
* @param status The status of an image replica.
*
* @return builder
*
*/
public Builder status(String status) {
$.status = status;
return this;
}
public GetImagesImageReplication build() {
if ($.region == null) {
throw new MissingRequiredPropertyException("GetImagesImageReplication", "region");
}
if ($.status == null) {
throw new MissingRequiredPropertyException("GetImagesImageReplication", "status");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy