Class ClusterArgs.Builder

  • Enclosing class:
    ClusterArgs

    public static final class ClusterArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • brokerNodeGroupInfo

        public ClusterArgs.Builder brokerNodeGroupInfo​(com.pulumi.core.Output<ClusterBrokerNodeGroupInfoArgs> brokerNodeGroupInfo)
        Parameters:
        brokerNodeGroupInfo - Configuration block for the broker nodes of the Kafka cluster.
        Returns:
        builder
      • clientAuthentication

        public ClusterArgs.Builder clientAuthentication​(@Nullable
                                                        com.pulumi.core.Output<ClusterClientAuthenticationArgs> clientAuthentication)
        Parameters:
        clientAuthentication - Configuration block for specifying a client authentication. See below.
        Returns:
        builder
      • clientAuthentication

        public ClusterArgs.Builder clientAuthentication​(ClusterClientAuthenticationArgs clientAuthentication)
        Parameters:
        clientAuthentication - Configuration block for specifying a client authentication. See below.
        Returns:
        builder
      • clusterName

        public ClusterArgs.Builder clusterName​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> clusterName)
        Parameters:
        clusterName - Name of the MSK cluster.
        Returns:
        builder
      • clusterName

        public ClusterArgs.Builder clusterName​(java.lang.String clusterName)
        Parameters:
        clusterName - Name of the MSK cluster.
        Returns:
        builder
      • configurationInfo

        public ClusterArgs.Builder configurationInfo​(@Nullable
                                                     com.pulumi.core.Output<ClusterConfigurationInfoArgs> configurationInfo)
        Parameters:
        configurationInfo - Configuration block for specifying a MSK Configuration to attach to Kafka brokers. See below.
        Returns:
        builder
      • configurationInfo

        public ClusterArgs.Builder configurationInfo​(ClusterConfigurationInfoArgs configurationInfo)
        Parameters:
        configurationInfo - Configuration block for specifying a MSK Configuration to attach to Kafka brokers. See below.
        Returns:
        builder
      • encryptionInfo

        public ClusterArgs.Builder encryptionInfo​(@Nullable
                                                  com.pulumi.core.Output<ClusterEncryptionInfoArgs> encryptionInfo)
        Parameters:
        encryptionInfo - Configuration block for specifying encryption. See below.
        Returns:
        builder
      • enhancedMonitoring

        public ClusterArgs.Builder enhancedMonitoring​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> enhancedMonitoring)
        Parameters:
        enhancedMonitoring - Specify the desired enhanced MSK CloudWatch monitoring level. See [Monitoring Amazon MSK with Amazon CloudWatch](https://docs.aws.amazon.com/msk/latest/developerguide/monitoring.html)
        Returns:
        builder
      • enhancedMonitoring

        public ClusterArgs.Builder enhancedMonitoring​(java.lang.String enhancedMonitoring)
        Parameters:
        enhancedMonitoring - Specify the desired enhanced MSK CloudWatch monitoring level. See [Monitoring Amazon MSK with Amazon CloudWatch](https://docs.aws.amazon.com/msk/latest/developerguide/monitoring.html)
        Returns:
        builder
      • kafkaVersion

        public ClusterArgs.Builder kafkaVersion​(com.pulumi.core.Output<java.lang.String> kafkaVersion)
        Parameters:
        kafkaVersion - Specify the desired Kafka software version.
        Returns:
        builder
      • kafkaVersion

        public ClusterArgs.Builder kafkaVersion​(java.lang.String kafkaVersion)
        Parameters:
        kafkaVersion - Specify the desired Kafka software version.
        Returns:
        builder
      • loggingInfo

        public ClusterArgs.Builder loggingInfo​(@Nullable
                                               com.pulumi.core.Output<ClusterLoggingInfoArgs> loggingInfo)
        Parameters:
        loggingInfo - Configuration block for streaming broker logs to Cloudwatch/S3/Kinesis Firehose. See below.
        Returns:
        builder
      • loggingInfo

        public ClusterArgs.Builder loggingInfo​(ClusterLoggingInfoArgs loggingInfo)
        Parameters:
        loggingInfo - Configuration block for streaming broker logs to Cloudwatch/S3/Kinesis Firehose. See below.
        Returns:
        builder
      • numberOfBrokerNodes

        public ClusterArgs.Builder numberOfBrokerNodes​(com.pulumi.core.Output<java.lang.Integer> numberOfBrokerNodes)
        Parameters:
        numberOfBrokerNodes - The desired total number of broker nodes in the kafka cluster. It must be a multiple of the number of specified client subnets.
        Returns:
        builder
      • numberOfBrokerNodes

        public ClusterArgs.Builder numberOfBrokerNodes​(java.lang.Integer numberOfBrokerNodes)
        Parameters:
        numberOfBrokerNodes - The desired total number of broker nodes in the kafka cluster. It must be a multiple of the number of specified client subnets.
        Returns:
        builder
      • openMonitoring

        public ClusterArgs.Builder openMonitoring​(@Nullable
                                                  com.pulumi.core.Output<ClusterOpenMonitoringArgs> openMonitoring)
        Parameters:
        openMonitoring - Configuration block for JMX and Node monitoring for the MSK cluster. See below.
        Returns:
        builder
      • openMonitoring

        public ClusterArgs.Builder openMonitoring​(ClusterOpenMonitoringArgs openMonitoring)
        Parameters:
        openMonitoring - Configuration block for JMX and Node monitoring for the MSK cluster. See below.
        Returns:
        builder
      • storageMode

        public ClusterArgs.Builder storageMode​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> storageMode)
        Parameters:
        storageMode - Controls storage mode for supported storage tiers. Valid values are: `LOCAL` or `TIERED`.
        Returns:
        builder
      • storageMode

        public ClusterArgs.Builder storageMode​(java.lang.String storageMode)
        Parameters:
        storageMode - Controls storage mode for supported storage tiers. Valid values are: `LOCAL` or `TIERED`.
        Returns:
        builder
      • tags

        public ClusterArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ClusterArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder