public ByteBuffer getSecretBinary()

in src/main/java/com/amazonaws/secretsmanager/caching/SecretCache.java [145:152]


    public ByteBuffer getSecretBinary(final String secretId) {
        SecretCacheItem secret = this.getCachedSecret(secretId);
        GetSecretValueResponse gsv = secret.getSecretValue();
        if (null == gsv) {
            return null;
        }
        return gsv.secretBinary().asByteBuffer();
    }