com.pulumi.aws.msk.outputs.ReplicatorKafkaCluster 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.
The newest version!
// *** 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.msk.outputs;
import com.pulumi.aws.msk.outputs.ReplicatorKafkaClusterAmazonMskCluster;
import com.pulumi.aws.msk.outputs.ReplicatorKafkaClusterVpcConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
@CustomType
public final class ReplicatorKafkaCluster {
/**
* @return Details of an Amazon MSK cluster.
*
*/
private ReplicatorKafkaClusterAmazonMskCluster amazonMskCluster;
/**
* @return Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
*
*/
private ReplicatorKafkaClusterVpcConfig vpcConfig;
private ReplicatorKafkaCluster() {}
/**
* @return Details of an Amazon MSK cluster.
*
*/
public ReplicatorKafkaClusterAmazonMskCluster amazonMskCluster() {
return this.amazonMskCluster;
}
/**
* @return Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
*
*/
public ReplicatorKafkaClusterVpcConfig vpcConfig() {
return this.vpcConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReplicatorKafkaCluster defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private ReplicatorKafkaClusterAmazonMskCluster amazonMskCluster;
private ReplicatorKafkaClusterVpcConfig vpcConfig;
public Builder() {}
public Builder(ReplicatorKafkaCluster defaults) {
Objects.requireNonNull(defaults);
this.amazonMskCluster = defaults.amazonMskCluster;
this.vpcConfig = defaults.vpcConfig;
}
@CustomType.Setter
public Builder amazonMskCluster(ReplicatorKafkaClusterAmazonMskCluster amazonMskCluster) {
if (amazonMskCluster == null) {
throw new MissingRequiredPropertyException("ReplicatorKafkaCluster", "amazonMskCluster");
}
this.amazonMskCluster = amazonMskCluster;
return this;
}
@CustomType.Setter
public Builder vpcConfig(ReplicatorKafkaClusterVpcConfig vpcConfig) {
if (vpcConfig == null) {
throw new MissingRequiredPropertyException("ReplicatorKafkaCluster", "vpcConfig");
}
this.vpcConfig = vpcConfig;
return this;
}
public ReplicatorKafkaCluster build() {
final var _resultValue = new ReplicatorKafkaCluster();
_resultValue.amazonMskCluster = amazonMskCluster;
_resultValue.vpcConfig = vpcConfig;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy