Interface LogLocation.Builder

  • Method Details

    • logType

      LogLocation.Builder logType(String logType)

      The type of log storage. Currently, only CLOUDWATCH is supported.

      Parameters:
      logType - The type of log storage. Currently, only CLOUDWATCH is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logType

      LogLocation.Builder logType(LogType logType)

      The type of log storage. Currently, only CLOUDWATCH is supported.

      Parameters:
      logType - The type of log storage. Currently, only CLOUDWATCH is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudWatchLog

      LogLocation.Builder cloudWatchLog(CloudWatchLog cloudWatchLog)

      The CloudWatch Logs location for the task logs.

      Parameters:
      cloudWatchLog - The CloudWatch Logs location for the task logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchLog

      default LogLocation.Builder cloudWatchLog(Consumer<CloudWatchLog.Builder> cloudWatchLog)

      The CloudWatch Logs location for the task logs.

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

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

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