Interface DeliverySource.Builder

  • Method Details

    • name

      The unique name of the delivery source.

      Parameters:
      name - The unique name of the delivery source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) that uniquely identifies this delivery source.

      Parameters:
      arn - The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArns

      DeliverySource.Builder resourceArns(Collection<String> resourceArns)

      This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.

      Parameters:
      resourceArns - This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArns

      DeliverySource.Builder resourceArns(String... resourceArns)

      This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.

      Parameters:
      resourceArns - This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

      DeliverySource.Builder service(String service)

      The Amazon Web Services service that is sending logs.

      Parameters:
      service - The Amazon Web Services service that is sending logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logType

      DeliverySource.Builder logType(String logType)

      The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.

      Parameters:
      logType - The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags that have been assigned to this delivery source.

      Parameters:
      tags - The tags that have been assigned to this delivery source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliverySourceConfiguration

      DeliverySource.Builder deliverySourceConfiguration(Map<String,String> deliverySourceConfiguration)

      The map of key-value pairs that configure the delivery source.

      Parameters:
      deliverySourceConfiguration - The map of key-value pairs that configure the delivery source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the delivery source. A delivery source can have the status ACTIVE or INACTIVE. Note: This value is defined for selective log types.

      Parameters:
      status - The status of the delivery source. A delivery source can have the status ACTIVE or INACTIVE. Note: This value is defined for selective log types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the delivery source. A delivery source can have the status ACTIVE or INACTIVE. Note: This value is defined for selective log types.

      Parameters:
      status - The status of the delivery source. A delivery source can have the status ACTIVE or INACTIVE. Note: This value is defined for selective log types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      DeliverySource.Builder statusReason(String statusReason)

      The reason for the status of the delivery source. A status reason of RESOURCE_DELETED indicates that the resource associated with the delivery source has been deleted. Note: This value is defined for selective log types.

      Parameters:
      statusReason - The reason for the status of the delivery source. A status reason of RESOURCE_DELETED indicates that the resource associated with the delivery source has been deleted. Note: This value is defined for selective log types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      The reason for the status of the delivery source. A status reason of RESOURCE_DELETED indicates that the resource associated with the delivery source has been deleted. Note: This value is defined for selective log types.

      Parameters:
      statusReason - The reason for the status of the delivery source. A status reason of RESOURCE_DELETED indicates that the resource associated with the delivery source has been deleted. Note: This value is defined for selective log types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: