com.pulumi.aws.rds.outputs.GetEngineVersionResult 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.rds.outputs;
import com.pulumi.aws.rds.outputs.GetEngineVersionFilter;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetEngineVersionResult {
/**
* @return Default character set for new instances of the engine version.
*
*/
private String defaultCharacterSet;
private @Nullable Boolean defaultOnly;
private String engine;
/**
* @return Description of the engine.
*
*/
private String engineDescription;
/**
* @return Set of log types that the engine version has available for export to CloudWatch Logs.
*
*/
private List exportableLogTypes;
private @Nullable List filters;
private @Nullable Boolean hasMajorTarget;
private @Nullable Boolean hasMinorTarget;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private @Nullable Boolean includeAll;
private @Nullable Boolean latest;
private String parameterGroupFamily;
private @Nullable List preferredMajorTargets;
private @Nullable List preferredUpgradeTargets;
private @Nullable List preferredVersions;
/**
* @return Status of the engine version, either `available` or `deprecated`.
*
*/
private String status;
/**
* @return Set of character sets supported by th engine version.
*
*/
private List supportedCharacterSets;
/**
* @return Set of features supported by the engine version.
*
*/
private List supportedFeatureNames;
/**
* @return Set of supported engine version modes.
*
*/
private List supportedModes;
/**
* @return Set of the time zones supported by the engine version.
*
*/
private List supportedTimezones;
/**
* @return Whether you can use Aurora global databases with the engine version.
*
*/
private Boolean supportsGlobalDatabases;
/**
* @return Whether the engine version supports exporting the log types specified by `exportable_log_types` to CloudWatch Logs.
*
*/
private Boolean supportsLogExportsToCloudwatch;
/**
* @return Whether you can use Aurora parallel query with the engine version.
*
*/
private Boolean supportsParallelQuery;
/**
* @return Whether the engine version supports read replicas.
*
*/
private Boolean supportsReadReplica;
/**
* @return Set of versions that are valid major version upgrades for the engine version.
*
*/
private List validMajorTargets;
/**
* @return Set of versions that are valid minor version upgrades for the engine version.
*
*/
private List validMinorTargets;
/**
* @return Set of versions that are valid major or minor upgrades for the engine version.
*
*/
private List validUpgradeTargets;
private String version;
/**
* @return Complete engine version.
*
*/
private String versionActual;
/**
* @return Description of the engine version.
*
*/
private String versionDescription;
private GetEngineVersionResult() {}
/**
* @return Default character set for new instances of the engine version.
*
*/
public String defaultCharacterSet() {
return this.defaultCharacterSet;
}
public Optional defaultOnly() {
return Optional.ofNullable(this.defaultOnly);
}
public String engine() {
return this.engine;
}
/**
* @return Description of the engine.
*
*/
public String engineDescription() {
return this.engineDescription;
}
/**
* @return Set of log types that the engine version has available for export to CloudWatch Logs.
*
*/
public List exportableLogTypes() {
return this.exportableLogTypes;
}
public List filters() {
return this.filters == null ? List.of() : this.filters;
}
public Optional hasMajorTarget() {
return Optional.ofNullable(this.hasMajorTarget);
}
public Optional hasMinorTarget() {
return Optional.ofNullable(this.hasMinorTarget);
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public Optional includeAll() {
return Optional.ofNullable(this.includeAll);
}
public Optional latest() {
return Optional.ofNullable(this.latest);
}
public String parameterGroupFamily() {
return this.parameterGroupFamily;
}
public List preferredMajorTargets() {
return this.preferredMajorTargets == null ? List.of() : this.preferredMajorTargets;
}
public List preferredUpgradeTargets() {
return this.preferredUpgradeTargets == null ? List.of() : this.preferredUpgradeTargets;
}
public List preferredVersions() {
return this.preferredVersions == null ? List.of() : this.preferredVersions;
}
/**
* @return Status of the engine version, either `available` or `deprecated`.
*
*/
public String status() {
return this.status;
}
/**
* @return Set of character sets supported by th engine version.
*
*/
public List supportedCharacterSets() {
return this.supportedCharacterSets;
}
/**
* @return Set of features supported by the engine version.
*
*/
public List supportedFeatureNames() {
return this.supportedFeatureNames;
}
/**
* @return Set of supported engine version modes.
*
*/
public List supportedModes() {
return this.supportedModes;
}
/**
* @return Set of the time zones supported by the engine version.
*
*/
public List supportedTimezones() {
return this.supportedTimezones;
}
/**
* @return Whether you can use Aurora global databases with the engine version.
*
*/
public Boolean supportsGlobalDatabases() {
return this.supportsGlobalDatabases;
}
/**
* @return Whether the engine version supports exporting the log types specified by `exportable_log_types` to CloudWatch Logs.
*
*/
public Boolean supportsLogExportsToCloudwatch() {
return this.supportsLogExportsToCloudwatch;
}
/**
* @return Whether you can use Aurora parallel query with the engine version.
*
*/
public Boolean supportsParallelQuery() {
return this.supportsParallelQuery;
}
/**
* @return Whether the engine version supports read replicas.
*
*/
public Boolean supportsReadReplica() {
return this.supportsReadReplica;
}
/**
* @return Set of versions that are valid major version upgrades for the engine version.
*
*/
public List validMajorTargets() {
return this.validMajorTargets;
}
/**
* @return Set of versions that are valid minor version upgrades for the engine version.
*
*/
public List validMinorTargets() {
return this.validMinorTargets;
}
/**
* @return Set of versions that are valid major or minor upgrades for the engine version.
*
*/
public List validUpgradeTargets() {
return this.validUpgradeTargets;
}
public String version() {
return this.version;
}
/**
* @return Complete engine version.
*
*/
public String versionActual() {
return this.versionActual;
}
/**
* @return Description of the engine version.
*
*/
public String versionDescription() {
return this.versionDescription;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEngineVersionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String defaultCharacterSet;
private @Nullable Boolean defaultOnly;
private String engine;
private String engineDescription;
private List exportableLogTypes;
private @Nullable List filters;
private @Nullable Boolean hasMajorTarget;
private @Nullable Boolean hasMinorTarget;
private String id;
private @Nullable Boolean includeAll;
private @Nullable Boolean latest;
private String parameterGroupFamily;
private @Nullable List preferredMajorTargets;
private @Nullable List preferredUpgradeTargets;
private @Nullable List preferredVersions;
private String status;
private List supportedCharacterSets;
private List supportedFeatureNames;
private List supportedModes;
private List supportedTimezones;
private Boolean supportsGlobalDatabases;
private Boolean supportsLogExportsToCloudwatch;
private Boolean supportsParallelQuery;
private Boolean supportsReadReplica;
private List validMajorTargets;
private List validMinorTargets;
private List validUpgradeTargets;
private String version;
private String versionActual;
private String versionDescription;
public Builder() {}
public Builder(GetEngineVersionResult defaults) {
Objects.requireNonNull(defaults);
this.defaultCharacterSet = defaults.defaultCharacterSet;
this.defaultOnly = defaults.defaultOnly;
this.engine = defaults.engine;
this.engineDescription = defaults.engineDescription;
this.exportableLogTypes = defaults.exportableLogTypes;
this.filters = defaults.filters;
this.hasMajorTarget = defaults.hasMajorTarget;
this.hasMinorTarget = defaults.hasMinorTarget;
this.id = defaults.id;
this.includeAll = defaults.includeAll;
this.latest = defaults.latest;
this.parameterGroupFamily = defaults.parameterGroupFamily;
this.preferredMajorTargets = defaults.preferredMajorTargets;
this.preferredUpgradeTargets = defaults.preferredUpgradeTargets;
this.preferredVersions = defaults.preferredVersions;
this.status = defaults.status;
this.supportedCharacterSets = defaults.supportedCharacterSets;
this.supportedFeatureNames = defaults.supportedFeatureNames;
this.supportedModes = defaults.supportedModes;
this.supportedTimezones = defaults.supportedTimezones;
this.supportsGlobalDatabases = defaults.supportsGlobalDatabases;
this.supportsLogExportsToCloudwatch = defaults.supportsLogExportsToCloudwatch;
this.supportsParallelQuery = defaults.supportsParallelQuery;
this.supportsReadReplica = defaults.supportsReadReplica;
this.validMajorTargets = defaults.validMajorTargets;
this.validMinorTargets = defaults.validMinorTargets;
this.validUpgradeTargets = defaults.validUpgradeTargets;
this.version = defaults.version;
this.versionActual = defaults.versionActual;
this.versionDescription = defaults.versionDescription;
}
@CustomType.Setter
public Builder defaultCharacterSet(String defaultCharacterSet) {
if (defaultCharacterSet == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "defaultCharacterSet");
}
this.defaultCharacterSet = defaultCharacterSet;
return this;
}
@CustomType.Setter
public Builder defaultOnly(@Nullable Boolean defaultOnly) {
this.defaultOnly = defaultOnly;
return this;
}
@CustomType.Setter
public Builder engine(String engine) {
if (engine == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "engine");
}
this.engine = engine;
return this;
}
@CustomType.Setter
public Builder engineDescription(String engineDescription) {
if (engineDescription == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "engineDescription");
}
this.engineDescription = engineDescription;
return this;
}
@CustomType.Setter
public Builder exportableLogTypes(List exportableLogTypes) {
if (exportableLogTypes == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "exportableLogTypes");
}
this.exportableLogTypes = exportableLogTypes;
return this;
}
public Builder exportableLogTypes(String... exportableLogTypes) {
return exportableLogTypes(List.of(exportableLogTypes));
}
@CustomType.Setter
public Builder filters(@Nullable List filters) {
this.filters = filters;
return this;
}
public Builder filters(GetEngineVersionFilter... filters) {
return filters(List.of(filters));
}
@CustomType.Setter
public Builder hasMajorTarget(@Nullable Boolean hasMajorTarget) {
this.hasMajorTarget = hasMajorTarget;
return this;
}
@CustomType.Setter
public Builder hasMinorTarget(@Nullable Boolean hasMinorTarget) {
this.hasMinorTarget = hasMinorTarget;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder includeAll(@Nullable Boolean includeAll) {
this.includeAll = includeAll;
return this;
}
@CustomType.Setter
public Builder latest(@Nullable Boolean latest) {
this.latest = latest;
return this;
}
@CustomType.Setter
public Builder parameterGroupFamily(String parameterGroupFamily) {
if (parameterGroupFamily == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "parameterGroupFamily");
}
this.parameterGroupFamily = parameterGroupFamily;
return this;
}
@CustomType.Setter
public Builder preferredMajorTargets(@Nullable List preferredMajorTargets) {
this.preferredMajorTargets = preferredMajorTargets;
return this;
}
public Builder preferredMajorTargets(String... preferredMajorTargets) {
return preferredMajorTargets(List.of(preferredMajorTargets));
}
@CustomType.Setter
public Builder preferredUpgradeTargets(@Nullable List preferredUpgradeTargets) {
this.preferredUpgradeTargets = preferredUpgradeTargets;
return this;
}
public Builder preferredUpgradeTargets(String... preferredUpgradeTargets) {
return preferredUpgradeTargets(List.of(preferredUpgradeTargets));
}
@CustomType.Setter
public Builder preferredVersions(@Nullable List preferredVersions) {
this.preferredVersions = preferredVersions;
return this;
}
public Builder preferredVersions(String... preferredVersions) {
return preferredVersions(List.of(preferredVersions));
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder supportedCharacterSets(List supportedCharacterSets) {
if (supportedCharacterSets == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportedCharacterSets");
}
this.supportedCharacterSets = supportedCharacterSets;
return this;
}
public Builder supportedCharacterSets(String... supportedCharacterSets) {
return supportedCharacterSets(List.of(supportedCharacterSets));
}
@CustomType.Setter
public Builder supportedFeatureNames(List supportedFeatureNames) {
if (supportedFeatureNames == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportedFeatureNames");
}
this.supportedFeatureNames = supportedFeatureNames;
return this;
}
public Builder supportedFeatureNames(String... supportedFeatureNames) {
return supportedFeatureNames(List.of(supportedFeatureNames));
}
@CustomType.Setter
public Builder supportedModes(List supportedModes) {
if (supportedModes == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportedModes");
}
this.supportedModes = supportedModes;
return this;
}
public Builder supportedModes(String... supportedModes) {
return supportedModes(List.of(supportedModes));
}
@CustomType.Setter
public Builder supportedTimezones(List supportedTimezones) {
if (supportedTimezones == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportedTimezones");
}
this.supportedTimezones = supportedTimezones;
return this;
}
public Builder supportedTimezones(String... supportedTimezones) {
return supportedTimezones(List.of(supportedTimezones));
}
@CustomType.Setter
public Builder supportsGlobalDatabases(Boolean supportsGlobalDatabases) {
if (supportsGlobalDatabases == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportsGlobalDatabases");
}
this.supportsGlobalDatabases = supportsGlobalDatabases;
return this;
}
@CustomType.Setter
public Builder supportsLogExportsToCloudwatch(Boolean supportsLogExportsToCloudwatch) {
if (supportsLogExportsToCloudwatch == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportsLogExportsToCloudwatch");
}
this.supportsLogExportsToCloudwatch = supportsLogExportsToCloudwatch;
return this;
}
@CustomType.Setter
public Builder supportsParallelQuery(Boolean supportsParallelQuery) {
if (supportsParallelQuery == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportsParallelQuery");
}
this.supportsParallelQuery = supportsParallelQuery;
return this;
}
@CustomType.Setter
public Builder supportsReadReplica(Boolean supportsReadReplica) {
if (supportsReadReplica == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "supportsReadReplica");
}
this.supportsReadReplica = supportsReadReplica;
return this;
}
@CustomType.Setter
public Builder validMajorTargets(List validMajorTargets) {
if (validMajorTargets == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "validMajorTargets");
}
this.validMajorTargets = validMajorTargets;
return this;
}
public Builder validMajorTargets(String... validMajorTargets) {
return validMajorTargets(List.of(validMajorTargets));
}
@CustomType.Setter
public Builder validMinorTargets(List validMinorTargets) {
if (validMinorTargets == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "validMinorTargets");
}
this.validMinorTargets = validMinorTargets;
return this;
}
public Builder validMinorTargets(String... validMinorTargets) {
return validMinorTargets(List.of(validMinorTargets));
}
@CustomType.Setter
public Builder validUpgradeTargets(List validUpgradeTargets) {
if (validUpgradeTargets == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "validUpgradeTargets");
}
this.validUpgradeTargets = validUpgradeTargets;
return this;
}
public Builder validUpgradeTargets(String... validUpgradeTargets) {
return validUpgradeTargets(List.of(validUpgradeTargets));
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "version");
}
this.version = version;
return this;
}
@CustomType.Setter
public Builder versionActual(String versionActual) {
if (versionActual == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "versionActual");
}
this.versionActual = versionActual;
return this;
}
@CustomType.Setter
public Builder versionDescription(String versionDescription) {
if (versionDescription == null) {
throw new MissingRequiredPropertyException("GetEngineVersionResult", "versionDescription");
}
this.versionDescription = versionDescription;
return this;
}
public GetEngineVersionResult build() {
final var _resultValue = new GetEngineVersionResult();
_resultValue.defaultCharacterSet = defaultCharacterSet;
_resultValue.defaultOnly = defaultOnly;
_resultValue.engine = engine;
_resultValue.engineDescription = engineDescription;
_resultValue.exportableLogTypes = exportableLogTypes;
_resultValue.filters = filters;
_resultValue.hasMajorTarget = hasMajorTarget;
_resultValue.hasMinorTarget = hasMinorTarget;
_resultValue.id = id;
_resultValue.includeAll = includeAll;
_resultValue.latest = latest;
_resultValue.parameterGroupFamily = parameterGroupFamily;
_resultValue.preferredMajorTargets = preferredMajorTargets;
_resultValue.preferredUpgradeTargets = preferredUpgradeTargets;
_resultValue.preferredVersions = preferredVersions;
_resultValue.status = status;
_resultValue.supportedCharacterSets = supportedCharacterSets;
_resultValue.supportedFeatureNames = supportedFeatureNames;
_resultValue.supportedModes = supportedModes;
_resultValue.supportedTimezones = supportedTimezones;
_resultValue.supportsGlobalDatabases = supportsGlobalDatabases;
_resultValue.supportsLogExportsToCloudwatch = supportsLogExportsToCloudwatch;
_resultValue.supportsParallelQuery = supportsParallelQuery;
_resultValue.supportsReadReplica = supportsReadReplica;
_resultValue.validMajorTargets = validMajorTargets;
_resultValue.validMinorTargets = validMinorTargets;
_resultValue.validUpgradeTargets = validUpgradeTargets;
_resultValue.version = version;
_resultValue.versionActual = versionActual;
_resultValue.versionDescription = versionDescription;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy