public AwsCredentials withSecretAccessKey(String secretAccessKey) {
        setSecretAccessKey(secretAccessKey);
        return this;
    }
<p>
The secret access key that can be used to sign requests.
</p>

@param secretAccessKey
       The secret access key that can be used to sign requests.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/AwsCredentials.java