Class BucketDetails.Builder

  • Enclosing class:
    BucketDetails

    public static class BucketDetails.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String bucketName)
        Instantiates a new builder with required properties.
        Parameters:
        bucketName - the bucketName
    • Method Detail

      • build

        public BucketDetails build()
        Builds a BucketDetails.
        Returns:
        the new BucketDetails instance
      • accessKey

        public BucketDetails.Builder accessKey​(java.lang.String accessKey)
        Set the accessKey.
        Parameters:
        accessKey - the accessKey
        Returns:
        the BucketDetails builder
      • bucketName

        public BucketDetails.Builder bucketName​(java.lang.String bucketName)
        Set the bucketName.
        Parameters:
        bucketName - the bucketName
        Returns:
        the BucketDetails builder
      • endpoint

        public BucketDetails.Builder endpoint​(java.lang.String endpoint)
        Set the endpoint.
        Parameters:
        endpoint - the endpoint
        Returns:
        the BucketDetails builder
      • secretKey

        public BucketDetails.Builder secretKey​(java.lang.String secretKey)
        Set the secretKey.
        Parameters:
        secretKey - the secretKey
        Returns:
        the BucketDetails builder