Interface Configuration.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the configuration.

      Parameters:
      arn -

      The Amazon Resource Name (ARN) of the configuration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      Configuration.Builder creationTime(Instant creationTime)

      The time when the configuration was created.

      Parameters:
      creationTime -

      The time when the configuration was created.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Configuration.Builder description(String description)

      The description of the configuration.

      Parameters:
      description -

      The description of the configuration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kafkaVersions

      Configuration.Builder kafkaVersions(Collection<String> kafkaVersions)

      An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.

      Parameters:
      kafkaVersions -

      An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kafkaVersions

      Configuration.Builder kafkaVersions(String... kafkaVersions)

      An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.

      Parameters:
      kafkaVersions -

      An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestRevision

      Configuration.Builder latestRevision(ConfigurationRevision latestRevision)

      Latest revision of the configuration.

      Parameters:
      latestRevision -

      Latest revision of the configuration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestRevision

      default Configuration.Builder latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)

      Latest revision of the configuration.

      This is a convenience method that creates an instance of the ConfigurationRevision.Builder avoiding the need to create one manually via ConfigurationRevision.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to latestRevision(ConfigurationRevision).

      Parameters:
      latestRevision - a consumer that will call methods on ConfigurationRevision.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The name of the configuration.

      Parameters:
      name -

      The name of the configuration.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.

      Parameters:
      state -

      The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.

      Parameters:
      state -

      The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: