public void setServiceRole(String serviceRole) {
        this.serviceRole = serviceRole;
    }
<p>
The GuardDuty service role.
</p>

@param serviceRole
       The GuardDuty service role.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/GetDetectorResult.java