Class B2ApplicationKey
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2ApplicationKey
-
public class B2ApplicationKey extends java.lang.Object
Response from b2_delete_key, and included in response from b2_list_keys.
-
-
Constructor Summary
Constructors Constructor Description B2ApplicationKey(java.lang.String accountId, java.lang.String applicationKeyId, java.lang.String keyName, java.util.TreeSet<java.lang.String> capabilities, java.lang.String bucketId, java.lang.String namePrefix, java.lang.Long expirationTimestamp, java.util.Set<java.lang.String> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAccountId()
java.lang.String
getApplicationKeyId()
java.lang.String
getBucketId()
java.util.TreeSet<java.lang.String>
getCapabilities()
java.lang.Long
getExpirationTimestamp()
java.lang.String
getKeyName()
java.lang.String
getNamePrefix()
java.util.Set<java.lang.String>
getOptions()
int
hashCode()
-
-
-
Constructor Detail
-
B2ApplicationKey
public B2ApplicationKey(java.lang.String accountId, java.lang.String applicationKeyId, java.lang.String keyName, java.util.TreeSet<java.lang.String> capabilities, java.lang.String bucketId, java.lang.String namePrefix, java.lang.Long expirationTimestamp, java.util.Set<java.lang.String> options)
-
-
Method Detail
-
getAccountId
public java.lang.String getAccountId()
-
getApplicationKeyId
public java.lang.String getApplicationKeyId()
-
getKeyName
public java.lang.String getKeyName()
-
getCapabilities
public java.util.TreeSet<java.lang.String> getCapabilities()
-
getBucketId
public java.lang.String getBucketId()
-
getNamePrefix
public java.lang.String getNamePrefix()
-
getExpirationTimestamp
public java.lang.Long getExpirationTimestamp()
-
getOptions
public java.util.Set<java.lang.String> getOptions()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-