Class Bindings.R2Spec

java.lang.Object
dev.gmitch215.bytebox.gradle.Bindings.R2Spec
Enclosing class:
Bindings

public static class Bindings.R2Spec extends Object
Identifiers an R2 bucket can carry.
  • Constructor Details

    • R2Spec

      public R2Spec()
  • Method Details

    • getBucketName

      public String getBucketName()
      Returns the bucket's own name.
      Returns:
      the bucket's own name
    • setBucketName

      public void setBucketName(String bucketName)
      Parameters:
      bucketName - the bucket's own name
    • getJurisdiction

      public String getJurisdiction()
      Returns the jurisdiction the bucket is pinned to, such as eu.
      Returns:
      the jurisdiction the bucket is pinned to, such as eu
    • setJurisdiction

      public void setJurisdiction(String jurisdiction)
      Parameters:
      jurisdiction - the jurisdiction the bucket is pinned to