public DeleteResourcesByExternalIdRequest withExternalId(String externalId) {
        setExternalId(externalId);
        return this;
    }
<p>
The unique ID of an external resource (for example, a CloudFormation stack ID) that is linked to one or more
CodeDeploy resources.
</p>

@param externalId
       The unique ID of an external resource (for example, a CloudFormation stack ID) that is linked to one or
       more CodeDeploy resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/DeleteResourcesByExternalIdRequest.java