Interface DeliverySource.Builder

    • Method Detail

      • name

        DeliverySource.Builder name​(String 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

        DeliverySource.Builder arn​(String 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

        DeliverySource.Builder tags​(Map<String,​String> 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.