public PagerDutyConfiguration withSecretId(String secretId) {
        setSecretId(secretId);
        return this;
    }
<p>
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access
REST API Key or User Token REST API Key, and other user credentials.
</p>

@param secretId
       The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General
       Access REST API Key or User Token REST API Key, and other user credentials.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmincidents/src/main/java/com/amazonaws/services/ssmincidents/model/PagerDutyConfiguration.java