com.pulumi.aws.mwaa.outputs.EnvironmentLastUpdatedError 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.mwaa.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EnvironmentLastUpdatedError {
private @Nullable String errorCode;
private @Nullable String errorMessage;
private EnvironmentLastUpdatedError() {}
public Optional errorCode() {
return Optional.ofNullable(this.errorCode);
}
public Optional errorMessage() {
return Optional.ofNullable(this.errorMessage);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvironmentLastUpdatedError defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String errorCode;
private @Nullable String errorMessage;
public Builder() {}
public Builder(EnvironmentLastUpdatedError defaults) {
Objects.requireNonNull(defaults);
this.errorCode = defaults.errorCode;
this.errorMessage = defaults.errorMessage;
}
@CustomType.Setter
public Builder errorCode(@Nullable String errorCode) {
this.errorCode = errorCode;
return this;
}
@CustomType.Setter
public Builder errorMessage(@Nullable String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public EnvironmentLastUpdatedError build() {
final var _resultValue = new EnvironmentLastUpdatedError();
_resultValue.errorCode = errorCode;
_resultValue.errorMessage = errorMessage;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy