@Override
    public GetDomainNameResult getDomainName(GetDomainNameRequest request) {
        request = beforeClientExecution(request);
        return executeGetDomainName(request);
    }
<p>
Retrieves a custom <code>DomainName</code> object.
</p>

@param getDomainNameRequest
@return Result of the GetDomainName operation returned by the service.
@throws AccessDeniedException
        You don't have access to perform this operation on this resource.
@throws BadRequestException
        The request is not well formed. For example, a value is invalid or a required field is missing. Check the
        field values, and then try again.
@throws InternalFailureException
        An internal AppSync error occurred. Try your request again.
@throws NotFoundException
        The resource specified in the request was not found. Check the resource, and then try again.
@sample AWSAppSync.GetDomainName
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainName" target="_top">AWS API
     Documentation</a>
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/AWSAppSyncClient.java