public CreateLocationObjectStorageRequest withSecretKey(String secretKey) {
        setSecretKey(secretKey);
        return this;
    }
<p>
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object
storage server.
</p>

@param secretKey
       Specifies the secret key (for example, a password) if credentials are required to authenticate with the
       object storage server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateLocationObjectStorageRequest.java