Class B2CreateKeyRequest
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2CreateKeyRequest
-
public class B2CreateKeyRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
B2CreateKeyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2CreateKeyRequest.Builder
builder(java.util.Set<java.lang.String> capabilities, java.lang.String keyName)
boolean
equals(java.lang.Object o)
java.lang.String
getBucketId()
java.util.Set<java.lang.String>
getCapabilities()
java.lang.String
getKeyName()
java.lang.String
getNamePrefix()
java.lang.Long
getValidDurationInSeconds()
int
hashCode()
-
-
-
Method Detail
-
builder
public static B2CreateKeyRequest.Builder builder(java.util.Set<java.lang.String> capabilities, java.lang.String keyName)
-
getCapabilities
public java.util.Set<java.lang.String> getCapabilities()
-
getKeyName
public java.lang.String getKeyName()
-
getValidDurationInSeconds
public java.lang.Long getValidDurationInSeconds()
-
getBucketId
public java.lang.String getBucketId()
-
getNamePrefix
public java.lang.String getNamePrefix()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-