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. See `brokerNodeGroupInfo` Block below.
        Returns:
        builder
      • brokerNodeGroupInfo

        public ClusterArgs.Builder brokerNodeGroupInfo​(ClusterBrokerNodeGroupInfoArgs brokerNodeGroupInfo)
        Parameters:
        brokerNodeGroupInfo - Configuration block for the broker nodes of the Kafka cluster. See `brokerNodeGroupInfo` Block below.
        Returns:
        builder
      • clientAuthentication

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

        public ClusterArgs.Builder clientAuthentication​(ClusterClientAuthenticationArgs clientAuthentication)
        Parameters:
        clientAuthentication - Configuration block for specifying a client authentication. See `clientAuthentication` Block 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 an MSK Configuration to attach to Kafka brokers. See `configurationInfo` Block below.
        Returns:
        builder
      • configurationInfo

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

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

        public ClusterArgs.Builder encryptionInfo​(ClusterEncryptionInfoArgs encryptionInfo)
        Parameters:
        encryptionInfo - Configuration block for specifying encryption. See `encryptionInfo` Block below.
        Returns:
        builder
      • enhancedMonitoring

        public ClusterArgs.Builder enhancedMonitoring​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> enhancedMonitoring)
        Parameters:
        enhancedMonitoring - 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 - 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 - Desired Kafka software version.
        Returns:
        builder
      • kafkaVersion

        public ClusterArgs.Builder kafkaVersion​(java.lang.String kafkaVersion)
        Parameters:
        kafkaVersion - 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 `loggingInfo` Block below.
        Returns:
        builder
      • loggingInfo

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

        public ClusterArgs.Builder numberOfBrokerNodes​(com.pulumi.core.Output<java.lang.Integer> numberOfBrokerNodes)
        Parameters:
        numberOfBrokerNodes - 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 - 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 `openMonitoring` Block below.
        Returns:
        builder
      • openMonitoring

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

        public ClusterArgs.Builder rebalancing​(@Nullable
                                               com.pulumi.core.Output<ClusterRebalancingArgs> rebalancing)
        Parameters:
        rebalancing - Configuration block for intelligent rebalancing. See `rebalancing` Block below. Only applicable to MSK Provisioned clusters with Express brokers.
        Returns:
        builder
      • rebalancing

        public ClusterArgs.Builder rebalancing​(ClusterRebalancingArgs rebalancing)
        Parameters:
        rebalancing - Configuration block for intelligent rebalancing. See `rebalancing` Block below. Only applicable to MSK Provisioned clusters with Express brokers.
        Returns:
        builder
      • region

        public ClusterArgs.Builder region​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ClusterArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        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 - Map of tags to assign to the resource. If configured with a provider `defaultTags` 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 - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder