Class 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 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object