Package dev.gmitch215.bytebox.gradle
Class Bindings.R2Spec
java.lang.Object
dev.gmitch215.bytebox.gradle.Bindings.R2Spec
- Enclosing class:
Bindings
Identifiers an R2 bucket can carry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bucket's own name.Returns the jurisdiction the bucket is pinned to, such aseu.voidsetBucketName(String bucketName) voidsetJurisdiction(String jurisdiction)
-
Constructor Details
-
R2Spec
public R2Spec()
-
-
Method Details
-
getBucketName
Returns the bucket's own name.- Returns:
- the bucket's own name
-
setBucketName
- Parameters:
bucketName- the bucket's own name
-
getJurisdiction
Returns the jurisdiction the bucket is pinned to, such aseu.- Returns:
- the jurisdiction the bucket is pinned to, such as
eu
-
setJurisdiction
- Parameters:
jurisdiction- the jurisdiction the bucket is pinned to
-