Interface SubscriberResource.Builder

  • Method Details

    • accessTypesWithStrings

      SubscriberResource.Builder accessTypesWithStrings(Collection<String> accessTypes)

      You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

      Parameters:
      accessTypes - You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

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

      SubscriberResource.Builder accessTypesWithStrings(String... accessTypes)

      You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

      Parameters:
      accessTypes - You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

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

      You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

      Parameters:
      accessTypes - You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

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

      SubscriberResource.Builder accessTypes(AccessType... accessTypes)

      You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

      Parameters:
      accessTypes - You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

      Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

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

      SubscriberResource.Builder createdAt(Instant createdAt)

      The date and time when the subscriber was created.

      Parameters:
      createdAt - The date and time when the subscriber was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceShareArn

      SubscriberResource.Builder resourceShareArn(String resourceShareArn)

      The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.

      This field is available only for Lake Formation subscribers created after March 8, 2023.

      Parameters:
      resourceShareArn - The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.

      This field is available only for Lake Formation subscribers created after March 8, 2023.

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

      SubscriberResource.Builder resourceShareName(String resourceShareName)

      The name of the resource share.

      Parameters:
      resourceShareName - The name of the resource share.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The Amazon Resource Name (ARN) specifying the role of the subscriber.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) specifying the role of the subscriber.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3BucketArn

      SubscriberResource.Builder s3BucketArn(String s3BucketArn)

      The ARN for the Amazon S3 bucket.

      Parameters:
      s3BucketArn - The ARN for the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.

      Parameters:
      sources - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.

      Parameters:
      sources - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services. For more information, see the Amazon Security Lake User Guide.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sources(List<LogSourceResource>).

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

      SubscriberResource.Builder subscriberArn(String subscriberArn)

      The subscriber ARN of the Amazon Security Lake subscriber account.

      Parameters:
      subscriberArn - The subscriber ARN of the Amazon Security Lake subscriber account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriberDescription

      SubscriberResource.Builder subscriberDescription(String subscriberDescription)

      The subscriber descriptions for a subscriber account. The description for a subscriber includes subscriberName, accountID, externalID, and subscriberId.

      Parameters:
      subscriberDescription - The subscriber descriptions for a subscriber account. The description for a subscriber includes subscriberName, accountID, externalID, and subscriberId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriberEndpoint

      SubscriberResource.Builder subscriberEndpoint(String subscriberEndpoint)

      The subscriber endpoint to which exception messages are posted.

      Parameters:
      subscriberEndpoint - The subscriber endpoint to which exception messages are posted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriberId

      SubscriberResource.Builder subscriberId(String subscriberId)

      The subscriber ID of the Amazon Security Lake subscriber account.

      Parameters:
      subscriberId - The subscriber ID of the Amazon Security Lake subscriber account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriberIdentity

      SubscriberResource.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.
    • subscriberIdentity

      default SubscriberResource.Builder subscriberIdentity(Consumer<AwsIdentity.Builder> subscriberIdentity)

      The Amazon Web Services identity used to access your data.

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

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

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

      SubscriberResource.Builder subscriberName(String subscriberName)

      The name of your Amazon Security Lake subscriber account.

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

      SubscriberResource.Builder subscriberStatus(String subscriberStatus)

      The subscriber status of the Amazon Security Lake subscriber account.

      Parameters:
      subscriberStatus - The subscriber status of the Amazon Security Lake subscriber account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subscriberStatus

      SubscriberResource.Builder subscriberStatus(SubscriberStatus subscriberStatus)

      The subscriber status of the Amazon Security Lake subscriber account.

      Parameters:
      subscriberStatus - The subscriber status of the Amazon Security Lake subscriber account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      SubscriberResource.Builder updatedAt(Instant updatedAt)

      The date and time when the subscriber was last updated.

      Parameters:
      updatedAt - The date and time when the subscriber was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.