public AwsApiCallActionDomainDetails withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The name of the DNS domain that issued the API call.
</p>
<p>
Length Constraints: 128.
</p>

@param domain
       The name of the DNS domain that issued the API call.</p>
       <p>
       Length Constraints: 128.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsApiCallActionDomainDetails.java