public DescribeNotificationRuleResult withDetailType(String detailType) {
        setDetailType(detailType);
        return this;
    }
<p>
The level of detail included in the notifications for this resource. BASIC will include only the contents of the
event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS
CodeStar Notifications and/or the service for the resource for which the notification is created.
</p>

@param detailType
       The level of detail included in the notifications for this resource. BASIC will include only the contents
       of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
       provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is
       created.
@return Returns a reference to this object so that method calls can be chained together.
@see DetailType
aws-java-sdk-codestarnotifications/src/main/java/com/amazonaws/services/codestarnotifications/model/DescribeNotificationRuleResult.java