Interface StepMonitoringConfiguration.Builder

  • Method Details

    • s3MonitoringConfiguration

      StepMonitoringConfiguration.Builder s3MonitoringConfiguration(S3MonitoringConfiguration s3MonitoringConfiguration)

      The Amazon S3 configuration for monitoring log publishing. You can configure your step to send log information to Amazon S3. When it's specified, it takes precedence over the cluster's logging configuration. If you don't specify this configuration entirely, or omit individual fields, EMR falls back to cluster-level logging behavior.

      Parameters:
      s3MonitoringConfiguration - The Amazon S3 configuration for monitoring log publishing. You can configure your step to send log information to Amazon S3. When it's specified, it takes precedence over the cluster's logging configuration. If you don't specify this configuration entirely, or omit individual fields, EMR falls back to cluster-level logging behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3MonitoringConfiguration

      default StepMonitoringConfiguration.Builder s3MonitoringConfiguration(Consumer<S3MonitoringConfiguration.Builder> s3MonitoringConfiguration)

      The Amazon S3 configuration for monitoring log publishing. You can configure your step to send log information to Amazon S3. When it's specified, it takes precedence over the cluster's logging configuration. If you don't specify this configuration entirely, or omit individual fields, EMR falls back to cluster-level logging behavior.

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

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

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