protected String getSpaceId ( String bucketName ) { String spaceId = bucketName ; if ( isSpace ( bucketName ) ) { spaceId = spaceId . substring ( accessKeyId . length ( ) + 1 ) ; } return spaceId ; }
Converts a bucket name into what could be passed in as a space ID .