com.pulumi.aws.appstream.outputs.GetImageStateChangeReason 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.
// *** 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.appstream.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetImageStateChangeReason {
private String code;
private String message;
private GetImageStateChangeReason() {}
public String code() {
return this.code;
}
public String message() {
return this.message;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetImageStateChangeReason defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String code;
private String message;
public Builder() {}
public Builder(GetImageStateChangeReason defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
this.message = defaults.message;
}
@CustomType.Setter
public Builder code(String code) {
if (code == null) {
throw new MissingRequiredPropertyException("GetImageStateChangeReason", "code");
}
this.code = code;
return this;
}
@CustomType.Setter
public Builder message(String message) {
if (message == null) {
throw new MissingRequiredPropertyException("GetImageStateChangeReason", "message");
}
this.message = message;
return this;
}
public GetImageStateChangeReason build() {
final var _resultValue = new GetImageStateChangeReason();
_resultValue.code = code;
_resultValue.message = message;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy