Class B2CreateKeyRequestReal
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2CreateKeyRequestReal
-
public class B2CreateKeyRequestReal extends java.lang.Object
b2_create_key request, as sent to service, including the accountId. Code that calls B2StorageClient uses B2CreateKeyRequest, which doesn't have the accountId in it. The B2StorageClient makes this real request by adding the accountId.
-
-
Constructor Summary
Constructors Constructor Description B2CreateKeyRequestReal(java.lang.String accountId, B2CreateKeyRequest mostOfRequest)
-
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
getBucketId()
java.util.Set<java.lang.String>
getCapabilities()
java.lang.String
getKeyName()
java.lang.String
getNamePrefix()
java.lang.Long
getValidDurationInSeconds()
int
hashCode()
-
-
-
Constructor Detail
-
B2CreateKeyRequestReal
public B2CreateKeyRequestReal(java.lang.String accountId, B2CreateKeyRequest mostOfRequest)
-
-
Method Detail
-
getAccountId
public java.lang.String getAccountId()
-
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
-
-