Class B2BucketServerSideEncryption
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2BucketServerSideEncryption
-
public class B2BucketServerSideEncryption extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2BucketServerSideEncryption
createSseB2Aes256()
Create default bucket server-side encryption configuration with mode of SSE-B2 and algorithm of AES256static B2BucketServerSideEncryption
createSseNone()
Create default bucket server-side encryption configuration with default encryption disabled.boolean
equals(java.lang.Object o)
java.lang.String
getAlgorithm()
java.lang.String
getMode()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
createSseB2Aes256
public static B2BucketServerSideEncryption createSseB2Aes256()
Create default bucket server-side encryption configuration with mode of SSE-B2 and algorithm of AES256- Returns:
- default SSE-B2 AES256 bucket encryption configuration
-
createSseNone
public static B2BucketServerSideEncryption createSseNone()
Create default bucket server-side encryption configuration with default encryption disabled.- Returns:
- default disabled bucket encryption configuration
-
getMode
public java.lang.String getMode()
-
getAlgorithm
public java.lang.String getAlgorithm()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-