com.pulumi.aws.mwaa.outputs.EnvironmentLastUpdated 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.aws.mwaa.outputs.EnvironmentLastUpdatedError;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EnvironmentLastUpdated {
/**
* @return The Created At date of the MWAA Environment
*
*/
private @Nullable String createdAt;
private @Nullable List errors;
/**
* @return The status of the Amazon MWAA Environment
*
*/
private @Nullable String status;
private EnvironmentLastUpdated() {}
/**
* @return The Created At date of the MWAA Environment
*
*/
public Optional createdAt() {
return Optional.ofNullable(this.createdAt);
}
public List errors() {
return this.errors == null ? List.of() : this.errors;
}
/**
* @return The status of the Amazon MWAA Environment
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvironmentLastUpdated defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String createdAt;
private @Nullable List errors;
private @Nullable String status;
public Builder() {}
public Builder(EnvironmentLastUpdated defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.errors = defaults.errors;
this.status = defaults.status;
}
@CustomType.Setter
public Builder createdAt(@Nullable String createdAt) {
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder errors(@Nullable List errors) {
this.errors = errors;
return this;
}
public Builder errors(EnvironmentLastUpdatedError... errors) {
return errors(List.of(errors));
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public EnvironmentLastUpdated build() {
final var _resultValue = new EnvironmentLastUpdated();
_resultValue.createdAt = createdAt;
_resultValue.errors = errors;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy