All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration 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.aws.kinesis.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration {
    /**
     * @return The type of connectivity used to access the Amazon MSK cluster. Valid values: `PUBLIC`, `PRIVATE`.
     * 
     */
    private String connectivity;
    /**
     * @return The ARN of the role used to access the Amazon MSK cluster.
     * 
     */
    private String roleArn;

    private FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration() {}
    /**
     * @return The type of connectivity used to access the Amazon MSK cluster. Valid values: `PUBLIC`, `PRIVATE`.
     * 
     */
    public String connectivity() {
        return this.connectivity;
    }
    /**
     * @return The ARN of the role used to access the Amazon MSK cluster.
     * 
     */
    public String roleArn() {
        return this.roleArn;
    }

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

    public static Builder builder(FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String connectivity;
        private String roleArn;
        public Builder() {}
        public Builder(FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.connectivity = defaults.connectivity;
    	      this.roleArn = defaults.roleArn;
        }

        @CustomType.Setter
        public Builder connectivity(String connectivity) {
            if (connectivity == null) {
              throw new MissingRequiredPropertyException("FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration", "connectivity");
            }
            this.connectivity = connectivity;
            return this;
        }
        @CustomType.Setter
        public Builder roleArn(String roleArn) {
            if (roleArn == null) {
              throw new MissingRequiredPropertyException("FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration", "roleArn");
            }
            this.roleArn = roleArn;
            return this;
        }
        public FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration build() {
            final var _resultValue = new FirehoseDeliveryStreamMskSourceConfigurationAuthenticationConfiguration();
            _resultValue.connectivity = connectivity;
            _resultValue.roleArn = roleArn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy