Record Class PipelineCrawlerResource.PipelineCrawlPayload.S3Payload

java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.PipelineCrawlerResource.PipelineCrawlPayload.S3Payload
Record Components:
endpointOverride - the S3 endpoint URL override
region - the S3 region
credentialsType - "static" or "anonymous"
accessKeyId - the static access key id
secretAccessKey - the static secret access key
pathStyleAccess - whether to use path-style bucket addressing
bucket - the bucket to crawl
prefix - the key prefix to crawl within the bucket
hydrateSampleData - when true, seed the sample corpus before crawling
Enclosing class:
PipelineCrawlerResource.PipelineCrawlPayload

public static record PipelineCrawlerResource.PipelineCrawlPayload.S3Payload(String endpointOverride, String region, String credentialsType, String accessKeyId, String secretAccessKey, Boolean pathStyleAccess, String bucket, String prefix, Boolean hydrateSampleData) extends Record
S3 source payload. All fields optional — an empty payload yields the dev SeaweedFS S3 defaults (endpoint http://localhost:8333, region us-east-1, static creds any/any, path-style true, bucket pipestream, prefix sample-docs/, hydrate true). credentialsType is "static" or "anonymous".
  • Constructor Details

    • S3Payload

      public S3Payload(String endpointOverride, String region, String credentialsType, String accessKeyId, String secretAccessKey, Boolean pathStyleAccess, String bucket, String prefix, Boolean hydrateSampleData)
      Creates an instance of a S3Payload record class.
      Parameters:
      endpointOverride - the value for the endpointOverride record component
      region - the value for the region record component
      credentialsType - the value for the credentialsType record component
      accessKeyId - the value for the accessKeyId record component
      secretAccessKey - the value for the secretAccessKey record component
      pathStyleAccess - the value for the pathStyleAccess record component
      bucket - the value for the bucket record component
      prefix - the value for the prefix record component
      hydrateSampleData - the value for the hydrateSampleData record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • endpointOverride

      public String endpointOverride()
      Returns the value of the endpointOverride record component.
      Returns:
      the value of the endpointOverride record component
    • region

      public String region()
      Returns the value of the region record component.
      Returns:
      the value of the region record component
    • credentialsType

      public String credentialsType()
      Returns the value of the credentialsType record component.
      Returns:
      the value of the credentialsType record component
    • accessKeyId

      public String accessKeyId()
      Returns the value of the accessKeyId record component.
      Returns:
      the value of the accessKeyId record component
    • secretAccessKey

      public String secretAccessKey()
      Returns the value of the secretAccessKey record component.
      Returns:
      the value of the secretAccessKey record component
    • pathStyleAccess

      public Boolean pathStyleAccess()
      Returns the value of the pathStyleAccess record component.
      Returns:
      the value of the pathStyleAccess record component
    • bucket

      public String bucket()
      Returns the value of the bucket record component.
      Returns:
      the value of the bucket record component
    • prefix

      public String prefix()
      Returns the value of the prefix record component.
      Returns:
      the value of the prefix record component
    • hydrateSampleData

      public Boolean hydrateSampleData()
      Returns the value of the hydrateSampleData record component.
      Returns:
      the value of the hydrateSampleData record component