Interface LogConfiguration.Builder

  • Method Details

    • logDestination

      LogConfiguration.Builder logDestination(String logDestination)

      The type of log collection to use for a fleet.

      • CLOUDWATCH -- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.

      • S3 -- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.

      • NONE -- Don't collect container logs.

      Parameters:
      logDestination - The type of log collection to use for a fleet.

      • CLOUDWATCH -- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.

      • S3 -- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.

      • NONE -- Don't collect container logs.

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

      LogConfiguration.Builder logDestination(LogDestination logDestination)

      The type of log collection to use for a fleet.

      • CLOUDWATCH -- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.

      • S3 -- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.

      • NONE -- Don't collect container logs.

      Parameters:
      logDestination - The type of log collection to use for a fleet.

      • CLOUDWATCH -- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.

      • S3 -- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.

      • NONE -- Don't collect container logs.

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

      LogConfiguration.Builder s3BucketName(String s3BucketName)

      If log destination is S3, logs are sent to the specified Amazon S3 bucket name.

      Parameters:
      s3BucketName - If log destination is S3, logs are sent to the specified Amazon S3 bucket name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupArn

      LogConfiguration.Builder logGroupArn(String logGroupArn)

      If log destination is CLOUDWATCH, logs are sent to the specified log group in Amazon CloudWatch.

      Parameters:
      logGroupArn - If log destination is CLOUDWATCH, logs are sent to the specified log group in Amazon CloudWatch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.