// *** 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.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetClusterSnapshotResult {
    /**
     * @return Allocated storage size in gigabytes (GB).
     * 
     */
    private Integer allocatedStorage;
    /**
     * @return List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
     * 
     */
    private List<String> availabilityZones;
    /**
     * @return Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
     * 
     */
    private @Nullable String dbClusterIdentifier;
    /**
     * @return The ARN for the DB Cluster Snapshot.
     * 
     */
    private String dbClusterSnapshotArn;
    private @Nullable String dbClusterSnapshotIdentifier;
    /**
     * @return Name of the database engine.
     * 
     */
    private String engine;
    /**
     * @return Version of the database engine for this DB cluster snapshot.
     * 
     */
    private String engineVersion;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private @Nullable Boolean includePublic;
    private @Nullable Boolean includeShared;
    /**
     * @return If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
     * 
     */
    private String kmsKeyId;
    /**
     * @return License model information for the restored DB cluster.
     * 
     */
    private String licenseModel;
    private @Nullable Boolean mostRecent;
    /**
     * @return Port that the DB cluster was listening on at the time of the snapshot.
     * 
     */
    private Integer port;
    /**
     * @return Time when the snapshot was taken, in Universal Coordinated Time (UTC).
     * 
     */
    private String snapshotCreateTime;
    private @Nullable String snapshotType;
    private String sourceDbClusterSnapshotArn;
    /**
     * @return Status of this DB Cluster Snapshot.
     * 
     */
    private String status;
    /**
     * @return Whether the DB cluster snapshot is encrypted.
     * 
     */
    private Boolean storageEncrypted;
    /**
     * @return Map of tags for the resource.
     * 
     */
    private Map<String,String> tags;
    /**
     * @return VPC ID associated with the DB cluster snapshot.
     * 
     */
    private String vpcId;

    private GetClusterSnapshotResult() {}
    /**
     * @return Allocated storage size in gigabytes (GB).
     * 
     */
    public Integer allocatedStorage() {
        return this.allocatedStorage;
    }
    /**
     * @return List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
     * 
     */
    public List<String> availabilityZones() {
        return this.availabilityZones;
    }
    /**
     * @return Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
     * 
     */
    public Optional<String> dbClusterIdentifier() {
        return Optional.ofNullable(this.dbClusterIdentifier);
    }
    /**
     * @return The ARN for the DB Cluster Snapshot.
     * 
     */
    public String dbClusterSnapshotArn() {
        return this.dbClusterSnapshotArn;
    }
    public Optional<String> dbClusterSnapshotIdentifier() {
        return Optional.ofNullable(this.dbClusterSnapshotIdentifier);
    }
    /**
     * @return Name of the database engine.
     * 
     */
    public String engine() {
        return this.engine;
    }
    /**
     * @return Version of the database engine for this DB cluster snapshot.
     * 
     */
    public String engineVersion() {
        return this.engineVersion;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Optional<Boolean> includePublic() {
        return Optional.ofNullable(this.includePublic);
    }
    public Optional<Boolean> includeShared() {
        return Optional.ofNullable(this.includeShared);
    }
    /**
     * @return If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
     * 
     */
    public String kmsKeyId() {
        return this.kmsKeyId;
    }
    /**
     * @return License model information for the restored DB cluster.
     * 
     */
    public String licenseModel() {
        return this.licenseModel;
    }
    public Optional<Boolean> mostRecent() {
        return Optional.ofNullable(this.mostRecent);
    }
    /**
     * @return Port that the DB cluster was listening on at the time of the snapshot.
     * 
     */
    public Integer port() {
        return this.port;
    }
    /**
     * @return Time when the snapshot was taken, in Universal Coordinated Time (UTC).
     * 
     */
    public String snapshotCreateTime() {
        return this.snapshotCreateTime;
    }
    public Optional<String> snapshotType() {
        return Optional.ofNullable(this.snapshotType);
    }
    public String sourceDbClusterSnapshotArn() {
        return this.sourceDbClusterSnapshotArn;
    }
    /**
     * @return Status of this DB Cluster Snapshot.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Whether the DB cluster snapshot is encrypted.
     * 
     */
    public Boolean storageEncrypted() {
        return this.storageEncrypted;
    }
    /**
     * @return Map of tags for the resource.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }
    /**
     * @return VPC ID associated with the DB cluster snapshot.
     * 
     */
    public String vpcId() {
        return this.vpcId;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetClusterSnapshotResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer allocatedStorage;
        private List<String> availabilityZones;
        private @Nullable String dbClusterIdentifier;
        private String dbClusterSnapshotArn;
        private @Nullable String dbClusterSnapshotIdentifier;
        private String engine;
        private String engineVersion;
        private String id;
        private @Nullable Boolean includePublic;
        private @Nullable Boolean includeShared;
        private String kmsKeyId;
        private String licenseModel;
        private @Nullable Boolean mostRecent;
        private Integer port;
        private String snapshotCreateTime;
        private @Nullable String snapshotType;
        private String sourceDbClusterSnapshotArn;
        private String status;
        private Boolean storageEncrypted;
        private Map<String,String> tags;
        private String vpcId;
        public Builder() {}
        public Builder(GetClusterSnapshotResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.allocatedStorage = defaults.allocatedStorage;
    	      this.availabilityZones = defaults.availabilityZones;
    	      this.dbClusterIdentifier = defaults.dbClusterIdentifier;
    	      this.dbClusterSnapshotArn = defaults.dbClusterSnapshotArn;
    	      this.dbClusterSnapshotIdentifier = defaults.dbClusterSnapshotIdentifier;
    	      this.engine = defaults.engine;
    	      this.engineVersion = defaults.engineVersion;
    	      this.id = defaults.id;
    	      this.includePublic = defaults.includePublic;
    	      this.includeShared = defaults.includeShared;
    	      this.kmsKeyId = defaults.kmsKeyId;
    	      this.licenseModel = defaults.licenseModel;
    	      this.mostRecent = defaults.mostRecent;
    	      this.port = defaults.port;
    	      this.snapshotCreateTime = defaults.snapshotCreateTime;
    	      this.snapshotType = defaults.snapshotType;
    	      this.sourceDbClusterSnapshotArn = defaults.sourceDbClusterSnapshotArn;
    	      this.status = defaults.status;
    	      this.storageEncrypted = defaults.storageEncrypted;
    	      this.tags = defaults.tags;
    	      this.vpcId = defaults.vpcId;
        }

        @CustomType.Setter
        public Builder allocatedStorage(Integer allocatedStorage) {
            this.allocatedStorage = Objects.requireNonNull(allocatedStorage);
            return this;
        }
        @CustomType.Setter
        public Builder availabilityZones(List<String> availabilityZones) {
            this.availabilityZones = Objects.requireNonNull(availabilityZones);
            return this;
        }
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }
        @CustomType.Setter
        public Builder dbClusterIdentifier(@Nullable String dbClusterIdentifier) {
            this.dbClusterIdentifier = dbClusterIdentifier;
            return this;
        }
        @CustomType.Setter
        public Builder dbClusterSnapshotArn(String dbClusterSnapshotArn) {
            this.dbClusterSnapshotArn = Objects.requireNonNull(dbClusterSnapshotArn);
            return this;
        }
        @CustomType.Setter
        public Builder dbClusterSnapshotIdentifier(@Nullable String dbClusterSnapshotIdentifier) {
            this.dbClusterSnapshotIdentifier = dbClusterSnapshotIdentifier;
            return this;
        }
        @CustomType.Setter
        public Builder engine(String engine) {
            this.engine = Objects.requireNonNull(engine);
            return this;
        }
        @CustomType.Setter
        public Builder engineVersion(String engineVersion) {
            this.engineVersion = Objects.requireNonNull(engineVersion);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder includePublic(@Nullable Boolean includePublic) {
            this.includePublic = includePublic;
            return this;
        }
        @CustomType.Setter
        public Builder includeShared(@Nullable Boolean includeShared) {
            this.includeShared = includeShared;
            return this;
        }
        @CustomType.Setter
        public Builder kmsKeyId(String kmsKeyId) {
            this.kmsKeyId = Objects.requireNonNull(kmsKeyId);
            return this;
        }
        @CustomType.Setter
        public Builder licenseModel(String licenseModel) {
            this.licenseModel = Objects.requireNonNull(licenseModel);
            return this;
        }
        @CustomType.Setter
        public Builder mostRecent(@Nullable Boolean mostRecent) {
            this.mostRecent = mostRecent;
            return this;
        }
        @CustomType.Setter
        public Builder port(Integer port) {
            this.port = Objects.requireNonNull(port);
            return this;
        }
        @CustomType.Setter
        public Builder snapshotCreateTime(String snapshotCreateTime) {
            this.snapshotCreateTime = Objects.requireNonNull(snapshotCreateTime);
            return this;
        }
        @CustomType.Setter
        public Builder snapshotType(@Nullable String snapshotType) {
            this.snapshotType = snapshotType;
            return this;
        }
        @CustomType.Setter
        public Builder sourceDbClusterSnapshotArn(String sourceDbClusterSnapshotArn) {
            this.sourceDbClusterSnapshotArn = Objects.requireNonNull(sourceDbClusterSnapshotArn);
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            this.status = Objects.requireNonNull(status);
            return this;
        }
        @CustomType.Setter
        public Builder storageEncrypted(Boolean storageEncrypted) {
            this.storageEncrypted = Objects.requireNonNull(storageEncrypted);
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        @CustomType.Setter
        public Builder vpcId(String vpcId) {
            this.vpcId = Objects.requireNonNull(vpcId);
            return this;
        }
        public GetClusterSnapshotResult build() {
            final var o = new GetClusterSnapshotResult();
            o.allocatedStorage = allocatedStorage;
            o.availabilityZones = availabilityZones;
            o.dbClusterIdentifier = dbClusterIdentifier;
            o.dbClusterSnapshotArn = dbClusterSnapshotArn;
            o.dbClusterSnapshotIdentifier = dbClusterSnapshotIdentifier;
            o.engine = engine;
            o.engineVersion = engineVersion;
            o.id = id;
            o.includePublic = includePublic;
            o.includeShared = includeShared;
            o.kmsKeyId = kmsKeyId;
            o.licenseModel = licenseModel;
            o.mostRecent = mostRecent;
            o.port = port;
            o.snapshotCreateTime = snapshotCreateTime;
            o.snapshotType = snapshotType;
            o.sourceDbClusterSnapshotArn = sourceDbClusterSnapshotArn;
            o.status = status;
            o.storageEncrypted = storageEncrypted;
            o.tags = tags;
            o.vpcId = vpcId;
            return o;
        }
    }
}
