Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created December 19, 2018 15:05
Show Gist options
  • Save recursivecodes/eacb55428d996e4b6a5b073e08f7740b to your computer and use it in GitHub Desktop.
Save recursivecodes/eacb55428d996e4b6a5b073e08f7740b to your computer and use it in GitHub Desktop.
def listObjects() {
ListObjectsRequest listObjectsRequest = ListObjectsRequest.builder()
.namespaceName(this.namespaceName)
.bucketName(this.bucketName)
.build()
ListObjectsResponse listObjectsResponse = objectClient.listObjects(listObjectsRequest)
return listObjectsResponse
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment