com.pulumi.mongodbatlas.inputs.GetStreamConnectionPlainArgs 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.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetStreamConnectionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetStreamConnectionPlainArgs Empty = new GetStreamConnectionPlainArgs();
/**
* Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
*
*/
@Import(name="connectionName", required=true)
private String connectionName;
/**
* @return Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
*
*/
public String connectionName() {
return this.connectionName;
}
/**
* Human-readable label that identifies the stream instance.
*
*/
@Import(name="instanceName", required=true)
private String instanceName;
/**
* @return Human-readable label that identifies the stream instance.
*
*/
public String instanceName() {
return this.instanceName;
}
/**
* Unique 24-hexadecimal digit string that identifies your project.
*
*/
@Import(name="projectId", required=true)
private String projectId;
/**
* @return Unique 24-hexadecimal digit string that identifies your project.
*
*/
public String projectId() {
return this.projectId;
}
private GetStreamConnectionPlainArgs() {}
private GetStreamConnectionPlainArgs(GetStreamConnectionPlainArgs $) {
this.connectionName = $.connectionName;
this.instanceName = $.instanceName;
this.projectId = $.projectId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStreamConnectionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetStreamConnectionPlainArgs $;
public Builder() {
$ = new GetStreamConnectionPlainArgs();
}
public Builder(GetStreamConnectionPlainArgs defaults) {
$ = new GetStreamConnectionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param connectionName Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
*
* @return builder
*
*/
public Builder connectionName(String connectionName) {
$.connectionName = connectionName;
return this;
}
/**
* @param instanceName Human-readable label that identifies the stream instance.
*
* @return builder
*
*/
public Builder instanceName(String instanceName) {
$.instanceName = instanceName;
return this;
}
/**
* @param projectId Unique 24-hexadecimal digit string that identifies your project.
*
* @return builder
*
*/
public Builder projectId(String projectId) {
$.projectId = projectId;
return this;
}
public GetStreamConnectionPlainArgs build() {
if ($.connectionName == null) {
throw new MissingRequiredPropertyException("GetStreamConnectionPlainArgs", "connectionName");
}
if ($.instanceName == null) {
throw new MissingRequiredPropertyException("GetStreamConnectionPlainArgs", "instanceName");
}
if ($.projectId == null) {
throw new MissingRequiredPropertyException("GetStreamConnectionPlainArgs", "projectId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy