com.pulumi.aws.imagebuilder.outputs.GetImageOutputResourceContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.imagebuilder.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetImageOutputResourceContainer {
/**
* @return Set of URIs for created containers.
*
*/
private List imageUris;
/**
* @return Region of the container image.
*
*/
private String region;
private GetImageOutputResourceContainer() {}
/**
* @return Set of URIs for created containers.
*
*/
public List imageUris() {
return this.imageUris;
}
/**
* @return Region of the container image.
*
*/
public String region() {
return this.region;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetImageOutputResourceContainer defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List imageUris;
private String region;
public Builder() {}
public Builder(GetImageOutputResourceContainer defaults) {
Objects.requireNonNull(defaults);
this.imageUris = defaults.imageUris;
this.region = defaults.region;
}
@CustomType.Setter
public Builder imageUris(List imageUris) {
if (imageUris == null) {
throw new MissingRequiredPropertyException("GetImageOutputResourceContainer", "imageUris");
}
this.imageUris = imageUris;
return this;
}
public Builder imageUris(String... imageUris) {
return imageUris(List.of(imageUris));
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetImageOutputResourceContainer", "region");
}
this.region = region;
return this;
}
public GetImageOutputResourceContainer build() {
final var _resultValue = new GetImageOutputResourceContainer();
_resultValue.imageUris = imageUris;
_resultValue.region = region;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy