com.pulumi.mongodbatlas.outputs.GetStreamInstanceDataProcessRegion Maven / Gradle / Ivy
// *** 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.mongodbatlas.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetStreamInstanceDataProcessRegion {
/**
* @return Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/createStreamInstance) describes the valid values.
*
*/
private String cloudProvider;
/**
* @return Name of the cloud provider region hosting Atlas Stream Processing. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/createStreamInstance) describes the valid values.
*
*/
private String region;
private GetStreamInstanceDataProcessRegion() {}
/**
* @return Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/createStreamInstance) describes the valid values.
*
*/
public String cloudProvider() {
return this.cloudProvider;
}
/**
* @return Name of the cloud provider region hosting Atlas Stream Processing. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/createStreamInstance) describes the valid values.
*
*/
public String region() {
return this.region;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStreamInstanceDataProcessRegion defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String cloudProvider;
private String region;
public Builder() {}
public Builder(GetStreamInstanceDataProcessRegion defaults) {
Objects.requireNonNull(defaults);
this.cloudProvider = defaults.cloudProvider;
this.region = defaults.region;
}
@CustomType.Setter
public Builder cloudProvider(String cloudProvider) {
if (cloudProvider == null) {
throw new MissingRequiredPropertyException("GetStreamInstanceDataProcessRegion", "cloudProvider");
}
this.cloudProvider = cloudProvider;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetStreamInstanceDataProcessRegion", "region");
}
this.region = region;
return this;
}
public GetStreamInstanceDataProcessRegion build() {
final var _resultValue = new GetStreamInstanceDataProcessRegion();
_resultValue.cloudProvider = cloudProvider;
_resultValue.region = region;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy