Interface CreateSubscriberRequest.Builder

    • Method Detail

      • accessTypesWithStrings

        CreateSubscriberRequest.Builder accessTypesWithStrings​(Collection<String> accessTypes)

        The Amazon S3 or Lake Formation access type.

        Parameters:
        accessTypes - The Amazon S3 or Lake Formation access type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessTypesWithStrings

        CreateSubscriberRequest.Builder accessTypesWithStrings​(String... accessTypes)

        The Amazon S3 or Lake Formation access type.

        Parameters:
        accessTypes - The Amazon S3 or Lake Formation access type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessTypes

        CreateSubscriberRequest.Builder accessTypes​(Collection<AccessType> accessTypes)

        The Amazon S3 or Lake Formation access type.

        Parameters:
        accessTypes - The Amazon S3 or Lake Formation access type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessTypes

        CreateSubscriberRequest.Builder accessTypes​(AccessType... accessTypes)

        The Amazon S3 or Lake Formation access type.

        Parameters:
        accessTypes - The Amazon S3 or Lake Formation access type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        CreateSubscriberRequest.Builder sources​(Collection<LogSourceResource> sources)

        The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.

        Parameters:
        sources - The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        CreateSubscriberRequest.Builder sources​(LogSourceResource... sources)

        The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.

        Parameters:
        sources - The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscriberDescription

        CreateSubscriberRequest.Builder subscriberDescription​(String subscriberDescription)

        The description for your subscriber account in Security Lake.

        Parameters:
        subscriberDescription - The description for your subscriber account in Security Lake.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscriberIdentity

        CreateSubscriberRequest.Builder subscriberIdentity​(AwsIdentity subscriberIdentity)

        The Amazon Web Services identity used to access your data.

        Parameters:
        subscriberIdentity - The Amazon Web Services identity used to access your data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscriberName

        CreateSubscriberRequest.Builder subscriberName​(String subscriberName)

        The name of your Security Lake subscriber account.

        Parameters:
        subscriberName - The name of your Security Lake subscriber account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSubscriberRequest.Builder tags​(Collection<Tag> tags)

        An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.

        Parameters:
        tags - An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSubscriberRequest.Builder tags​(Tag... tags)

        An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.

        Parameters:
        tags - An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSubscriberRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)